tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r701009 - /tomcat/connectors/trunk/jk/native/common/jk_util.c
Date Thu, 02 Oct 2008 06:00:11 GMT
Author: mturk
Date: Wed Oct  1 23:00:11 2008
New Revision: 701009

URL: http://svn.apache.org/viewvc?rev=701009&view=rev
Log:
Fix copy/paste typo

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_util.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_util.c?rev=701009&r1=701008&r2=701009&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_util.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_util.c Wed Oct  1 23:00:11 2008
@@ -602,7 +602,7 @@
 
 int jk_attach_file_logger(jk_logger_t **l, int fd, int level)
 {
-    if (l && file) {
+    if (l && fd >= 0) {
 
         jk_logger_t *rc = (jk_logger_t *)malloc(sizeof(jk_logger_t));
         jk_file_logger_t *p = (jk_file_logger_t *) malloc(sizeof(jk_file_logger_t));



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


Mime
View raw message