fixing Mantis 1594

This commit is contained in:
Christian Grothoff
2010-07-30 04:53:42 +00:00
parent cf17555746
commit bdf374b29a
+1 -1
View File
@@ -137,7 +137,7 @@ http_ahc (void *cls,
}
*ptr = NULL; /* reset when done */
if ( (0 == stat (url, &buf)) &&
if ( (0 == stat (&url[1], &buf)) &&
(S_ISREG (buf.st_mode)) )
file = fopen (&url[1], "rb");
else