You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2002/07/17 16:49:54 UTC
cvs commit: apache-1.3/src/support ab.c
martin 2002/07/17 07:49:54
Modified: src/support ab.c
Log:
Off by one millisecond ;-)
Revision Changes Path
1.66 +3 -3 apache-1.3/src/support/ab.c
Index: ab.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/support/ab.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- ab.c 11 May 2002 20:47:57 -0000 1.65
+++ ab.c 17 Jul 2002 14:49:54 -0000 1.66
@@ -1306,7 +1306,7 @@
/* check for time limit expiry */
gettimeofday(&now, 0);
- if (tlimit && timedif(now, start) > (tlimit * 1000)) {
+ if (tlimit && timedif(now, start) >= (tlimit * 1000)) {
requests = done; /* so stats are correct */
}
/* Timeout of 30 seconds. */