mirror of
git://erdgeist.org/opentracker
synced 2025-03-01 20:41:31 +08:00
Missed the second strnstr... fixed.
This commit is contained in:
parent
e3103d30f7
commit
09a662dfce
@ -388,7 +388,8 @@ LOG_TO_STDERR( "sync: %d.%d.%d.%d\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
|
||||
|
||||
if( mode == TASK_STATS_TPB ) {
|
||||
#ifdef WANT_COMPRESSION_GZIP
|
||||
if( strnstr( d, "gzip", l ) ) {
|
||||
d[l-1] = 0;
|
||||
if( strstr( d, "gzip" ) ) {
|
||||
h->flag |= STRUCT_HTTP_FLAG_GZIP;
|
||||
format |= TASK_FLAG_GZIP;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user