]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Now measure the time a clean_all_torrents takes
authorerdgeist <>
Mon, 22 Oct 2007 00:44:11 +0000 (00:44 +0000)
committererdgeist <>
Mon, 22 Oct 2007 00:44:11 +0000 (00:44 +0000)
opentracker.c

index 5da982962c8c65e708cc3427d255bcda7cbf6001..65c9c933242f79cbfde7d588514bae569d427af0 100644 (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;