diff options
author | isaacs <i@izs.me> | 2012-04-17 19:24:28 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-04-18 09:36:45 -0700 |
commit | 7b3fb22290c3b6acb497ca85cf2f1648d75c8154 (patch) | |
tree | 20aba0f75b00e54a6114d954528c2e961cb2d88b /src/node_http_parser.cc | |
parent | 6bb9868271640770fe76274df1db8e450bd9c784 (diff) | |
download | node-7b3fb22290c3b6acb497ca85cf2f1648d75c8154.tar.gz |
typo in node_http_parser
Diffstat (limited to 'src/node_http_parser.cc')
-rw-r--r-- | src/node_http_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index af3729027..b29afe256 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -148,7 +148,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]; |