You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/06/07 13:51:50 UTC
cvs commit: apache-2.0/src/os/unix unixd.c
trawick 00/06/07 04:51:50
Modified: src/os/unix unixd.c
Log:
Fix some bad (1.3 style) parmlists to ap_log_error() which were introduced
with the reintroduction of resource limiting logic.
Revision Changes Path
1.14 +3 -3 apache-2.0/src/os/unix/unixd.c
Index: unixd.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/os/unix/unixd.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- unixd.c 2000/06/06 21:45:16 1.13
+++ unixd.c 2000/06/07 11:51:49 1.14
@@ -411,7 +411,7 @@
limit = *plimit;
if ((getrlimit(type, limit)) != 0) {
*plimit = NULL;
- ap_log_error(APLOG_MARK, APLOG_ERR, cmd->server,
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server,
"%s: getrlimit failed", cmd->cmd->name);
return;
}
@@ -425,7 +425,7 @@
}
}
else {
- ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, cmd->server,
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server,
"Invalid parameters for %s", cmd->cmd->name);
return;
}
@@ -438,7 +438,7 @@
if (geteuid()) {
limit->rlim_cur = cur;
if (max) {
- ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, cmd->server,
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server,
"Must be uid 0 to raise maximum %s", cmd->cmd->name);
}
}