httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@hyperreal.com>
Subject cvs commit: apache/src mod_status.c mod_include.c
Date Wed, 29 May 1996 03:08:18 GMT
chuck       96/05/28 20:08:18

  Modified:    src       mod_status.c mod_include.c
  Log:
  Pre-rprintf() cruft and minor -Wall warning cleanup, respectively
  
  Revision  Changes    Path
  1.21      +1 -6      apache/src/mod_status.c
  
  Index: mod_status.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_status.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -C3 -r1.20 -r1.21
  *** mod_status.c	1996/05/28 09:14:25	1.20
  --- mod_status.c	1996/05/29 03:08:14	1.21
  ***************
  *** 361,372 ****
    	rputs("\"<code>D</code>\" DNS Lookup, \n",r);
    	rputs("\"<code>L</code>\" Logging<p>\n",r);
            rprintf(r,"\n%d requests currently being processed, %d idle servers\n"
  ! ,busy,ready);
  ! 
  ! #if 0
  !         sprintf(buffer,"\n%d requests currently being processed, %d idle servers\n",busy,ready);
  ! 	rputs(buffer,r);
  ! #endif
        }
    
    #if defined(STATUS)
  --- 361,367 ----
    	rputs("\"<code>D</code>\" DNS Lookup, \n",r);
    	rputs("\"<code>L</code>\" Logging<p>\n",r);
            rprintf(r,"\n%d requests currently being processed, %d idle servers\n"
  ! 		,busy,ready);
        }
    
    #if defined(STATUS)
  
  
  
  1.7       +1 -1      apache/src/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_include.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -C3 -r1.6 -r1.7
  *** mod_include.c	1996/03/31 01:07:02	1.6
  --- mod_include.c	1996/05/29 03:08:15	1.7
  ***************
  *** 99,105 ****
          table_set(e, "USER_NAME", pw->pw_name);
        } else {
          char uid[16];
  !       sprintf(uid, "user#%d", r->finfo.st_uid);
          table_set(e, "USER_NAME", uid);
        }
    
  --- 99,105 ----
          table_set(e, "USER_NAME", pw->pw_name);
        } else {
          char uid[16];
  !       sprintf(uid, "user#%ld", r->finfo.st_uid);
          table_set(e, "USER_NAME", uid);
        }
    
  
  
  

Mime
View raw message