Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

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

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Buffer::Length(Buffer*) should not invoke itself recursively.
  • Loading branch information
bnoordhuis committed Mar 8, 2011
commit c77561975ab990f8aa0f8f5c16d32db8363a381b
2 changes: 1 addition & 1 deletion src/node_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Buffer : public ObjectWrap {
}

static inline size_t Length(Buffer *b) {
return Buffer::Length(b);
return Buffer::Length(b->handle_);
}


Expand Down