mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
fixing Mantis 1594
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user