Browse Source

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

Closes GH-759.
v0.7.4-release
Ben Noordhuis 14 years ago
committed by Ryan Dahl
parent
commit
594642b31d
  1. 2
      src/node_buffer.h

2
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_);
}

Loading…
Cancel
Save