Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Stop appending CRLF to items.

Change-Id: I9ad5da3fa8547c1691c606f71ae822e78bc1529e
Reviewed-on: http://review.northscale.com:8080/258
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information...
commit 89b9a9283558ae6070399e8bc095172f7092c6ef 1 parent 65c0a89
@dustin dustin authored trondn committed
Showing with 1 addition and 6 deletions.
  1. +1 −1  ep_engine.h
  2. +0 −5 item.hh
View
2  ep_engine.h
@@ -711,7 +711,7 @@ friend class LookupCallback;
}
std::stringstream vals;
- vals << val << "\r\n";
+ vals << val;
size_t nb = vals.str().length();
*result = val;
Item *nit = new Item(key, (uint16_t)nkey, item->getFlags(),
View
5 item.hh
@@ -150,11 +150,6 @@ private:
data = new std::string(nb, '\0');
} else {
data = new std::string(dta, nb);
- if (data != NULL) {
- if ((*data)[nb-2] != '\r' || (*data)[nb-1] != '\n') {
- data->append("\r\n");
- }
- }
}
if (data != NULL) {
Please sign in to comment.
Something went wrong with that request. Please try again.