httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Thu, 24 Apr 2003 13:41:07 GMT
trawick     2003/04/24 06:41:07

  Modified:    server/mpm/prefork prefork.c
  Log:
  the error code is in the apr_status_t, not errno
  
  Revision  Changes    Path
  1.276     +1 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.275
  retrieving revision 1.276
  diff -u -r1.275 -r1.276
  --- prefork.c	23 Apr 2003 14:59:35 -0000	1.275
  +++ prefork.c	24 Apr 2003 13:41:06 -0000	1.276
  @@ -207,7 +207,7 @@
   	use_dir = ap_server_root_relative(pconf, buf[0] ? buf : dir);
   	res = apr_dir_make(use_dir, 0755, pconf);
   	if(res != APR_SUCCESS && !APR_STATUS_IS_EEXIST(res)) {
  -	    ap_log_error(APLOG_MARK, APLOG_ERR, errno, ap_server_conf,
  +	    ap_log_error(APLOG_MARK, APLOG_ERR, res, ap_server_conf,
   			 "gprof: error creating directory %s", dir);
   	}
       }
  
  
  

Mime
View raw message