httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jac...@apache.org
Subject cvs commit: httpd-test/flood flood_round_robin.c
Date Mon, 09 Sep 2002 09:36:02 GMT
jacekp      2002/09/09 02:36:02

  Modified:    flood    flood_round_robin.c
  Log:
  fixed few typos in previous commit (doh! I need more coffe ;)
  
  Revision  Changes    Path
  1.31      +3 -3      httpd-test/flood/flood_round_robin.c
  
  Index: flood_round_robin.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/flood/flood_round_robin.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- flood_round_robin.c	9 Sep 2002 09:24:28 -0000	1.30
  +++ flood_round_robin.c	9 Sep 2002 09:36:01 -0000	1.31
  @@ -285,10 +285,10 @@
               int credlen;
               credtls = apr_pstrcat(r->pool, p->url[p->current_url].user,
                                     ":", p->url[p->current_url].password, NULL);
  -            crdlen = strlen(credtls);
  +            credlen = strlen(credtls);
               enc_credtls = (char *) apr_palloc(r->pool,
  -                                              apr_base64_encode_len(crdlen) + 1);
  -            apr_base64_encode(enc_credtls, credtls, crdlen);
  +                                              apr_base64_encode_len(credlen) + 1);
  +            apr_base64_encode(enc_credtls, credtls, credlen);
               authz_hdr = apr_pstrcat(r->pool, "Authorization: Basic ",
                                       enc_credtls, CRLF, NULL);
           }
  
  
  

Mime
View raw message