1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-14 00:40:09 +00:00

Now measure the time a clean_all_torrents takes

This commit is contained in:
erdgeist 2007-10-22 00:44:11 +00:00
parent 6876e16242
commit ac57c3d5d6

View File

@ -420,7 +420,7 @@ SCRAPE_WORKAROUND:
continue;
}
/* ignore this, when we have less than 20 bytes */
if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) < sizeof(ot_hash) ) HTTPERROR_400_PARAM;
if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) < (ssize_t)sizeof(ot_hash) ) HTTPERROR_400_PARAM;
if( scrape_count < OT_MAXMULTISCRAPE_COUNT )
memmove( multiscrape_buf + scrape_count++, data, sizeof(ot_hash) );
break;