httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r742995 - /httpd/httpd/trunk/modules/mappers/mod_watchdog.c
Date Tue, 10 Feb 2009 15:25:48 GMT
Author: jim
Date: Tue Feb 10 15:25:32 2009
New Revision: 742995

URL: http://svn.apache.org/viewvc?rev=742995&view=rev
Log:
remove belt-and-suspenders casting

Modified:
    httpd/httpd/trunk/modules/mappers/mod_watchdog.c

Modified: httpd/httpd/trunk/modules/mappers/mod_watchdog.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_watchdog.c?rev=742995&r1=742994&r2=742995&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_watchdog.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_watchdog.c Tue Feb 10 15:25:32 2009
@@ -129,7 +129,7 @@
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s,
                      "%sWatchdog (%s) running (%" APR_PID_T_FMT ")",
                      w->singleton ? "Singleton" : "",
-                     w->name, (pid_t)getpid());
+                     w->name, getpid());
         apr_time_clock_hires(w->pool);
         if (wl) {
             apr_pool_t *ctx = NULL;
@@ -214,7 +214,7 @@
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s,
                      "%sWatchdog (%s) stopping (%" APR_PID_T_FMT ")",
                      w->singleton ? "Singleton" : "",
-                     w->name, (pid_t)getpid());
+                     w->name, getpid());
 
     if (locked)
         apr_proc_mutex_unlock(w->mutex);
@@ -443,7 +443,7 @@
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                 "[%" APR_PID_T_FMT " - %s] "
                 "child second stage post config hook",
-                (pid_t)getpid(), ppid);
+                getpid(), ppid);
             return OK;
         }
     }



Mime
View raw message