You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2007/04/24 10:01:30 UTC

svn commit: r531817 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

Author: hgomez
Date: Tue Apr 24 01:01:29 2007
New Revision: 531817

URL: http://svn.apache.org/viewvc?view=rev&rev=531817
Log:
Make use of jk_stat()

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

Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c?view=diff&rev=531817&r1=531816&r2=531817
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Tue Apr 24 01:01:29 2007
@@ -715,7 +715,7 @@
     if (uw_map->reload > 0 && difftime(now, uw_map->checked) > uw_map->reload) {
         struct stat statbuf;
         uw_map->checked = now;
-        if ((rc = stat(uw_map->fname, &statbuf)) == -1) {
+        if ((rc = jk_stat(uw_map->fname, &statbuf)) == -1) {
             jk_log(l, JK_LOG_ERROR,
                    "Unable to stat the %s (errno=%d)",
                    uw_map->fname, errno);



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