httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Tue, 17 Mar 1998 23:24:17 GMT
marc        98/03/17 15:24:16

  Modified:    src/main http_main.c
  Log:
  Fix warning on Solaris.  Using a long format should be safer for
  everything.  I think.
  
  Revision  Changes    Path
  1.308     +1 -1      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.307
  retrieving revision 1.308
  diff -u -r1.307 -r1.308
  --- http_main.c	1998/03/17 08:20:59	1.307
  +++ http_main.c	1998/03/17 23:24:10	1.308
  @@ -339,7 +339,7 @@
   {
       char buf[20];
   
  -    ap_snprintf(buf, sizeof(buf), ".%u", getpid());
  +    ap_snprintf(buf, sizeof(buf), ".%lu", getpid());
       lock_fname = pstrcat(p, server_root_relative(p, lock_fname), buf, NULL);
   }
   #endif
  
  
  

Mime
View raw message