summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-10-22 00:44:11 +0000
committererdgeist <>2007-10-22 00:44:11 +0000
commitac57c3d5d600c73969ea79ca36f5ca4625532ea7 (patch)
tree7b037b84760555cd63ec0b9a02956c2852e9127d /opentracker.c
parent6876e162429dda51c202e598c0b4c6faf50cb964 (diff)
Now measure the time a clean_all_torrents takes
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 5da9829..65c9c93 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -420,7 +420,7 @@ SCRAPE_WORKAROUND:
420 continue; 420 continue;
421 } 421 }
422 /* ignore this, when we have less than 20 bytes */ 422 /* ignore this, when we have less than 20 bytes */
423 if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) < sizeof(ot_hash) ) HTTPERROR_400_PARAM; 423 if( scan_urlencoded_query( &c, data = c, SCAN_SEARCHPATH_VALUE ) < (ssize_t)sizeof(ot_hash) ) HTTPERROR_400_PARAM;
424 if( scrape_count < OT_MAXMULTISCRAPE_COUNT ) 424 if( scrape_count < OT_MAXMULTISCRAPE_COUNT )
425 memmove( multiscrape_buf + scrape_count++, data, sizeof(ot_hash) ); 425 memmove( multiscrape_buf + scrape_count++, data, sizeof(ot_hash) );
426 break; 426 break;