diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-03-08 21:46:20 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-03-10 14:06:01 -0800 |
commit | 594642b31dbaa32d99c634421c615dc09c9afb29 (patch) | |
tree | e16f7efc40981aee37c3276860e7762963cd38a4 /src | |
parent | 9a8e843ca3a6f381fb69d9a760f36ea9458d290b (diff) | |
download | node-new-594642b31dbaa32d99c634421c615dc09c9afb29.tar.gz |
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.
Diffstat (limited to 'src')
-rw-r--r-- | src/node_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h index 9a0e1d2401..a548f2e4a3 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -63,7 +63,7 @@ class Buffer : public ObjectWrap { } static inline size_t Length(Buffer *b) { - return Buffer::Length(b); + return Buffer::Length(b->handle_); } |