mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
removed extra lines
This commit is contained in:
parent
c10d628a45
commit
939c28b74b
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue