You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2008/10/31 14:37:32 UTC
svn commit: r709407 - /httpd/httpd/trunk/os/unix/unixd.c
Author: jim
Date: Fri Oct 31 06:37:32 2008
New Revision: 709407
URL: http://svn.apache.org/viewvc?rev=709407&view=rev
Log:
Also adjust unixd.c with changes from r709406
Modified:
httpd/httpd/trunk/os/unix/unixd.c
Modified: httpd/httpd/trunk/os/unix/unixd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/os/unix/unixd.c?rev=709407&r1=709406&r2=709407&view=diff
==============================================================================
--- httpd/httpd/trunk/os/unix/unixd.c (original)
+++ httpd/httpd/trunk/os/unix/unixd.c Fri Oct 31 06:37:32 2008
@@ -68,13 +68,13 @@
if (unixd_config.user_name[0] == '#') {
struct passwd *ent;
- uid_t uid = atoi(&unixd_config.user_name[1]);
+ uid_t uid = atol(&unixd_config.user_name[1]);
if ((ent = getpwuid(uid)) == NULL) {
ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,
- "getpwuid: couldn't determine user name from uid %u, "
+ "getpwuid: couldn't determine user name from uid %ld, "
"you probably need to modify the User directive",
- (unsigned)uid);
+ (long)uid);
return -1;
}