From ac57c3d5d600c73969ea79ca36f5ca4625532ea7 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 22 Oct 2007 00:44:11 +0000 Subject: [PATCH] Now measure the time a clean_all_torrents takes --- opentracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentracker.c b/opentracker.c index 5da9829..65c9c93 100644 --- a/opentracker.c +++ b/opentracker.c @@ -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;