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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]