removed extra lines

pull/335/head
xcps 9 years ago
parent c10d628a45
commit 939c28b74b

@ -184,7 +184,6 @@ namespace proxy
{ {
assert(len); // This should always be called with a least a byte left to parse assert(len); // This should always be called with a least a byte left to parse
// remove "Referer" from http requst // remove "Referer" from http requst
http_buff[len] = '\0'; http_buff[len] = '\0';
char *start = strstr((char *)http_buff, "\nReferer:"); char *start = strstr((char *)http_buff, "\nReferer:");
@ -194,7 +193,6 @@ namespace proxy
strncpy(start, end, (char*)(http_buff + len) - end); strncpy(start, end, (char*)(http_buff + len) - end);
len = len - (end - start); len = len - (end - start);
} }
while (len > 0) while (len > 0)
{ {

Loading…
Cancel
Save