httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Mon, 03 May 2004 20:15:26 GMT
wrowe       2004/05/03 13:15:26

  Modified:    src/main http_core.c
  Log:
    Trival patch for a signed/unsigned compare emit in the for condition,
    since i is running from 0 to strlen(nonce) and strlen is defined to
    return size_t, quiet the picky compiler warnings of VC and probably
    some others.
  
  Revision  Changes    Path
  1.335     +1 -1      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.334
  retrieving revision 1.335
  diff -u -r1.334 -r1.335
  --- http_core.c	16 Apr 2004 18:21:59 -0000	1.334
  +++ http_core.c	3 May 2004 20:15:26 -0000	1.335
  @@ -2846,7 +2846,7 @@
   static const char *set_authnonce (cmd_parms *cmd, void *mconfig, char *word1)
   {
       core_dir_config *aconfig = (core_dir_config *)mconfig;
  -    int i;
  +    size_t i;
   
       aconfig->ap_auth_nonce = ap_escape_quotes(cmd->pool, word1);
   
  
  
  

Mime
View raw message