tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r478751 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Date Fri, 24 Nov 2006 02:39:10 GMT
Author: rjung
Date: Thu Nov 23 18:39:09 2006
New Revision: 478751

URL: http://svn.apache.org/viewvc?view=rev&rev=478751
Log:
Fix two compiler warnings.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_status.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=478751&r1=478750&r2=478751
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Thu Nov 23 18:39:09 2006
@@ -357,7 +357,7 @@
 }
 
 
-static int display_worker(jk_ws_service_t *s, jk_worker_t *w,
+static void display_worker(jk_ws_service_t *s, jk_worker_t *w,
                           int refresh, int single,
                           jk_logger_t *l)
 {
@@ -1088,7 +1088,7 @@
     char *err = NULL;
     int cmd;
     int mime;
-    int refresh;
+    int refresh = -1;
     status_endpoint_t *p;
 
     JK_TRACE_ENTER(l);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message