1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-19 01:09:58 +00:00

removed extra lines

This commit is contained in:
xcps 2016-01-22 16:30:24 +05:00
parent c10d628a45
commit 939c28b74b

View File

@ -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)
{ {