Commit 7787ceda authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

If thread_num is long, this better be an %ld

MFC: 106653
Reviewed by: wrowe, nd, trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@151265 13f79535-47bb-0310-9956-ffa450edef68
parent 2775747a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
Changes with Apache 2.0.53
  *) Win32 MPM: Correct typo in debugging output.  [William Rowe]
  *) conf: Remove AddDefaultCharset from the default configuration because
     setting a site-wide default does more harm than good. PR 23421.
     [Roy Fielding]
+2 −2
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ static void worker_main(long thread_num)
    ap_sb_handle_t *sbh;

    ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ap_server_conf,
                 "Child %d: Worker thread %d starting.", my_pid, thread_num);
                 "Child %d: Worker thread %ld starting.", my_pid, thread_num);
    while (1) {
        conn_rec *c;
        apr_int32_t disconnected;
@@ -752,7 +752,7 @@ static void worker_main(long thread_num)
                                        (request_rec *) NULL);

    ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, ap_server_conf,
                 "Child %d: Worker thread %d exiting.", my_pid, thread_num);
                 "Child %d: Worker thread %ld exiting.", my_pid, thread_num);
}