From 939c28b74be424cb089d6d40dc4bd1b36c492cdf Mon Sep 17 00:00:00 2001 From: xcps Date: Fri, 22 Jan 2016 16:30:24 +0500 Subject: [PATCH] removed extra lines --- HTTPProxy.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/HTTPProxy.cpp b/HTTPProxy.cpp index c5466d4f..17b8e816 100644 --- a/HTTPProxy.cpp +++ b/HTTPProxy.cpp @@ -184,7 +184,6 @@ namespace proxy { assert(len); // This should always be called with a least a byte left to parse - // remove "Referer" from http requst http_buff[len] = '\0'; char *start = strstr((char *)http_buff, "\nReferer:"); @@ -194,7 +193,6 @@ namespace proxy strncpy(start, end, (char*)(http_buff + len) - end); len = len - (end - start); } - while (len > 0) {