]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Off by one millisecond ;-)
authorMartin Kraemer <martin@apache.org>
Wed, 17 Jul 2002 14:49:54 +0000 (14:49 +0000)
committerMartin Kraemer <martin@apache.org>
Wed, 17 Jul 2002 14:49:54 +0000 (14:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96095 13f79535-47bb-0310-9956-ffa450edef68

src/support/ab.c

index 88d4cd40de426afed7f8bcccb88f8fdd38ffa407..53af498ccba174809a9a6e38889d0dacb16b3682 100644 (file)
@@ -1306,7 +1306,7 @@ static void test(void)
 
        /* 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. */
@@ -1351,14 +1351,14 @@ static void test(void)
 static void copyright(void)
 {
     if (!use_html) {
-       printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.65 $> apache-1.3");
+       printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.66 $> apache-1.3");
        printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
        printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n");
        printf("\n");
     }
     else {
        printf("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n", VERSION, "$Revision: 1.65 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n", VERSION, "$Revision: 1.66 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");