Author: hgomez
Date: Tue Apr 24 12:43:57 2007
New Revision: 532054

URL: http://svn.apache.org/viewvc?view=rev&rev=532054
Log:
fix Missing statbuf

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_map.c?view=diff&rev=532054&r1=532053&r2=532054
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_map.c Tue Apr 24 12:43:57 2007
@@ -873,9 +873,9 @@
             }
             fclose(fp);
             if (modified) {
-               struct stat statbuf;
-                               jk_stat(f, &statbuf);
-                *modified = statbuf.st_mtime;
+                struct stat statbuf;
+                if (jk_stat(f, &statbuf) != -1)
+                       *modified = statbuf.st_mtime;
             }
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to