projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8e843
)
Buffer::Length(Buffer*) should not invoke itself recursively.
author
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 8 Mar 2011 20:46:20 +0000
(21:46 +0100)
committer
Ryan Dahl
<ry@tinyclouds.org>
Thu, 10 Mar 2011 22:06:01 +0000
(14:06 -0800)
Closes GH-759.
src/node_buffer.h
patch
|
blob
|
history
diff --git
a/src/node_buffer.h
b/src/node_buffer.h
index
9a0e1d2
..
a548f2e
100644
(file)
--- 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_
);
}