Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo in node_http_parser

  • Loading branch information...
commit c9a231db0e59658be419d926b1dfa17b939ba158 1 parent e5b787e
isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/node_http_parser.cc
2  src/node_http_parser.cc
View
@@ -191,7 +191,7 @@ struct StringPtr {
void Update(const char* str, size_t size) {
if (str_ == NULL)
str_ = str;
- else if (on_heap_ || str_ + size != str) {
+ else if (on_heap_ || str_ + size_ != str) {
// Non-consecutive input, make a copy on the heap.
// TODO Use slab allocation, O(n) allocs is bad.
char* s = new char[size_ + size];
Please sign in to comment.
Something went wrong with that request. Please try again.