diff -urN thttpd-2.21-09/thttpd.c thttpd-2.21-10/thttpd.c --- thttpd-2.21-09/thttpd.c Thu Nov 22 16:28:40 2001 +++ thttpd-2.21-10/thttpd.c Fri Nov 23 12:46:30 2001 @@ -132,7 +132,7 @@ static httpd_server* hs = (httpd_server*) 0; int terminate = 0; time_t start_time, stats_time; -long stats_connections, stats_bytes; +long long stats_connections, stats_bytes; int stats_simultaneous; static int got_usr1; @@ -2037,7 +2037,7 @@ thttpd_logstats( long secs ) { syslog( LOG_NOTICE, - " thttpd - %ld connections (%g/sec), %d max simultaneous, %ld bytes (%g/sec), %d httpd_conns allocated", + " thttpd - %lld connections (%g/sec), %d max simultaneous, %lld bytes (%g/sec), %d httpd_conns allocated", stats_connections, (float) stats_connections / secs, stats_simultaneous, stats_bytes, (float) stats_bytes / secs, httpd_conn_count );