=== modified file 'src/helper.cc' --- src/helper.cc 2012-12-14 16:10:05 +0000 +++ src/helper.cc 2012-12-17 19:08:06 +0000 @@ -935,7 +935,7 @@ debugs(84, 3, "helperHandleRead: end of reply found"); if (t > srv->rbuf && t[-1] == '\r' && hlp->eom == '\n') { - t = '\0'; + *t = '\0'; // rewind to the \r octet which is the real terminal now // and remember that we have to skip forward 2 places now. skip = 2;