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 2011/09/24 22:20:25 UTC

svn commit: r1175238 - /tomcat/jk/trunk/native/common/jk_connect.c

Author: rjung
Date: Sat Sep 24 20:20:25 2011
New Revision: 1175238

URL: http://svn.apache.org/viewvc?rev=1175238&view=rev
Log:
Choose "errno" instead of "error" in logging,
so that "[error]" stays reserved for error messages.

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

Modified: tomcat/jk/trunk/native/common/jk_connect.c
URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_connect.c?rev=1175238&r1=1175237&r2=1175238&view=diff
==============================================================================
--- tomcat/jk/trunk/native/common/jk_connect.c (original)
+++ tomcat/jk/trunk/native/common/jk_connect.c Sat Sep 24 20:20:25 2011
@@ -959,7 +959,7 @@ char *jk_dump_sinfo(jk_sock_t sd, char *
             return buf;
         }
     }
-    sprintf(buf, "error=%d", errno);
+    sprintf(buf, "errno=%d", errno);
     return buf;
 }
 



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