Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 14357 invoked by uid 6000); 8 Aug 1999 13:31:53 -0000 Received: (qmail 14351 invoked by alias); 8 Aug 1999 13:31:52 -0000 Delivered-To: apache-1.3-cvs@hyperreal.org Received: (qmail 14349 invoked by uid 207); 8 Aug 1999 13:31:52 -0000 Date: 8 Aug 1999 13:31:52 -0000 Message-ID: <19990808133152.14348.qmail@hyperreal.org> From: dirkx@hyperreal.org To: apache-1.3-cvs@hyperreal.org Subject: cvs commit: apache-1.3/src/main http_main.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org dirkx 99/08/08 06:31:51 Modified: src/main http_main.c Log: Warning on *BSD, Solaris (uid_t <-> int) on printf. Revision Changes Path 1.469 +2 -2 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /x3/home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.468 retrieving revision 1.469 diff -u -r1.468 -r1.469 --- http_main.c 1999/08/08 12:05:13 1.468 +++ http_main.c 1999/08/08 13:31:50 1.469 @@ -3700,7 +3700,7 @@ #endif setuid(ap_user_id) == -1)) { ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf, - "setuid: unable to change to uid: %d", ap_user_id); + "setuid: unable to change to uid: %d", (int) ap_user_id); clean_child_exit(APEXIT_CHILDFATAL); } #endif @@ -4885,7 +4885,7 @@ /* Only try to switch if we're running as root */ if (!geteuid() && setuid(ap_user_id) == -1) { ap_log_error(APLOG_MARK, APLOG_ALERT, server_conf, - "setuid: unable to change to uid: %d", ap_user_id); + "setuid: unable to change to uid: %d", (int) ap_user_id); exit(1); } #endif