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

Closes GH-759.
pull/22966/head
Ben Noordhuis 2011-03-08 21:46:20 +01:00 committed by Ryan Dahl
parent 9a8e843ca3
commit 594642b31d
1 changed files with 1 additions and 1 deletions

View File

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