libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 3980b784cc35c1db06bff18d747df9e420a8a461
parent 1b0b8c014d04189c6e55e09288dd68ef5bc1e447
Author: Nils Durner <durner@gnunet.org>
Date:   Wed, 20 Jan 2010 21:34:10 +0000

fix the fix

Diffstat:
Msrc/examples/https_fileserver_example.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c @@ -131,7 +131,7 @@ http_ahc (void *cls, } *ptr = NULL; /* reset when done */ - file = fopen (url, "rb"); + file = fopen (&url[1], "rb"); if (file == NULL) { response = MHD_create_response_from_data (strlen (EMPTY_PAGE),