0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

Buffer::Length(Buffer*) should not invoke itself recursively.

Closes GH-759.
This commit is contained in:
Ben Noordhuis 2011-03-08 21:46:20 +01:00 committed by Ryan Dahl
parent 9a8e843ca3
commit 594642b31d

View File

@ -63,7 +63,7 @@ class Buffer : public ObjectWrap {
}
static inline size_t Length(Buffer *b) {
return Buffer::Length(b);
return Buffer::Length(b->handle_);
}