httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/support ab.c
Date Fri, 31 May 2002 21:33:24 GMT
wrowe       2002/05/31 14:33:24

  Modified:    support  ab.c
  Log:
    A few more unused/unnecessary variables and surpress an uninitialized
    value warning.
  
  Revision  Changes    Path
  1.105     +3 -5      httpd-2.0/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/ab.c,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- ab.c	31 May 2002 19:26:20 -0000	1.104
  +++ ab.c	31 May 2002 21:33:24 -0000	1.105
  @@ -502,7 +502,7 @@
   
   void ssl_rand_seed()
   {
  -    int nDone;
  +    int nDone = 0;
       int n, l;
       time_t t;
       pid_t pid;
  @@ -589,7 +589,6 @@
       X509 *x509cert;
       STACK_OF(X509) *sk;
       int i, count, hdone = 0;
  -    apr_status_t rv;
       char ssl_hostname[80];
       
       /* XXX - Verify if it's okay - TBD */
  @@ -652,7 +651,6 @@
                   if (bad++ > 10) {
                       SSL_free (c->ssl);
                       BIO_printf(bio_err,"\nTest aborted after 10 failures\n\n");
  -                    apr_err("apr_connect()", rv);
                       exit (1);
                   }
                   break;
  @@ -1725,14 +1723,14 @@
   static void copyright(void)
   {
       if (!use_html) {
  -	printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.104
$> apache-2.0");
  +	printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.105
$> apache-2.0");
   	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-2.0<br>\n",
AP_AB_BASEREVISION, "$Revision: 1.104 $");
  +	printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n",
AP_AB_BASEREVISION, "$Revision: 1.105 $");
   	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");
  
  
  

Mime
View raw message