diff options
author | Nils Durner <durner@gnunet.org> | 2010-01-20 21:34:10 +0000 |
---|---|---|
committer | Nils Durner <durner@gnunet.org> | 2010-01-20 21:34:10 +0000 |
commit | 3980b784cc35c1db06bff18d747df9e420a8a461 (patch) | |
tree | 40081c0f69bbe6b4418e6fe68616fda074167086 /src/examples/https_fileserver_example.c | |
parent | 1b0b8c014d04189c6e55e09288dd68ef5bc1e447 (diff) | |
download | libmicrohttpd-3980b784cc35c1db06bff18d747df9e420a8a461.tar.gz libmicrohttpd-3980b784cc35c1db06bff18d747df9e420a8a461.zip |
fix the fix
Diffstat (limited to 'src/examples/https_fileserver_example.c')
-rw-r--r-- | src/examples/https_fileserver_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c index 1ec88947..9f9728dd 100644 --- a/src/examples/https_fileserver_example.c +++ b/src/examples/https_fileserver_example.c | |||
@@ -131,7 +131,7 @@ http_ahc (void *cls, | |||
131 | } | 131 | } |
132 | *ptr = NULL; /* reset when done */ | 132 | *ptr = NULL; /* reset when done */ |
133 | 133 | ||
134 | file = fopen (url, "rb"); | 134 | file = fopen (&url[1], "rb"); |
135 | if (file == NULL) | 135 | if (file == NULL) |
136 | { | 136 | { |
137 | response = MHD_create_response_from_data (strlen (EMPTY_PAGE), | 137 | response = MHD_create_response_from_data (strlen (EMPTY_PAGE), |