You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2015/01/06 17:01:35 UTC

svn commit: r1649848 - /tomcat/jk/trunk/native/common/jk_util.c

Author: rjung
Date: Tue Jan  6 16:01:35 2015
New Revision: 1649848

URL: http://svn.apache.org/r1649848
Log:
Fix compiler error (declare at start of block).

Modified:
    tomcat/jk/trunk/native/common/jk_util.c

Modified: tomcat/jk/trunk/native/common/jk_util.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_util.c?rev=1649848&r1=1649847&r2=1649848&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_util.c (original)
+++ tomcat/jk/trunk/native/common/jk_util.c Tue Jan  6 16:01:35 2015
@@ -1402,15 +1402,16 @@ int jk_get_worker_fail_on_status(jk_map_
                                  int **list, unsigned int *list_size)
 {
     char buf[PARAM_BUFFER_SIZE];
+    int *ar;
 
     if (!m || !wname || !list || !list_size) {
         return 0;
     }
     MAKE_WORKER_PARAM(STATUS_FAIL_OF_WORKER);
-    int *ar = jk_map_get_int_list(m,
-                                  buf,
-                                  list_size,
-                                  NULL);
+    ar = jk_map_get_int_list(m,
+                             buf,
+                             list_size,
+                             NULL);
     if (ar) {
         *list = ar;
         return JK_TRUE;



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