[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12401 - libmicrohttpd/src/examples
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12401 - libmicrohttpd/src/examples |
Date: |
Fri, 30 Jul 2010 06:53:42 +0200 |
Author: grothoff
Date: 2010-07-30 06:53:42 +0200 (Fri, 30 Jul 2010)
New Revision: 12401
Modified:
libmicrohttpd/src/examples/https_fileserver_example.c
Log:
fixing Mantis 1594
Modified: libmicrohttpd/src/examples/https_fileserver_example.c
===================================================================
--- libmicrohttpd/src/examples/https_fileserver_example.c 2010-07-29
15:39:01 UTC (rev 12400)
+++ libmicrohttpd/src/examples/https_fileserver_example.c 2010-07-30
04:53:42 UTC (rev 12401)
@@ -137,7 +137,7 @@
}
*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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12401 - libmicrohttpd/src/examples,
gnunet <=