You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Jim Jagielski <ji...@hyperreal.com> on 1996/11/04 02:06:12 UTC
cvs commit: apache/src http_protocol.c mod_log_config.c
jim 96/11/03 17:06:12
Modified: src http_protocol.c mod_log_config.c
Log:
-Wall cleanups, continued
Revision Changes Path
1.70 +1 -1 apache/src/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_protocol.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -C3 -r1.69 -r1.70
*** http_protocol.c 1996/11/03 21:36:16 1.69
--- http_protocol.c 1996/11/04 01:06:09 1.70
***************
*** 227,233 ****
r->byterange = 2;
table_unset(r->headers_out, "Content-Length");
! sprintf(boundary, "%lx%lx", r->request_time, getpid());
r->boundary = pstrdup(r->pool, boundary);
}
--- 227,233 ----
r->byterange = 2;
table_unset(r->headers_out, "Content-Length");
! sprintf(boundary, "%lx%lx", r->request_time, (long)getpid());
r->boundary = pstrdup(r->pool, boundary);
}
1.15 +1 -1 apache/src/mod_log_config.c
Index: mod_log_config.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_log_config.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C3 -r1.14 -r1.15
*** mod_log_config.c 1996/10/20 18:03:35 1.14
--- mod_log_config.c 1996/11/04 01:06:10 1.15
***************
*** 328,334 ****
char *log_child_pid (request_rec *r, char *a) {
char pidnum[10];
! sprintf(pidnum, "%ld", getpid());
return pstrdup(r->pool, pidnum);
}
/*****************************************************************
--- 328,334 ----
char *log_child_pid (request_rec *r, char *a) {
char pidnum[10];
! sprintf(pidnum, "%ld", (long)getpid());
return pstrdup(r->pool, pidnum);
}
/*****************************************************************