libmicrohttpd

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

commit ee092d7c12979e9dc9c463e83c98345455b672ff
parent fbb52177e226c272b7088fd967a4f83234ab7213
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 13 Jun 2010 09:50:07 +0000

fix

Diffstat:
Msrc/examples/fileserver_example_dirs.c | 2+-
Msrc/examples/https_fileserver_example.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/fileserver_example_dirs.c b/src/examples/fileserver_example_dirs.c @@ -35,7 +35,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max) { FILE *file = cls; - fseek (file, pos, SEEK_SET); + (void) fseek (file, pos, SEEK_SET); return fread (buf, 1, max, file); } diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c @@ -101,7 +101,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max) { FILE *file = cls; - fseek (file, pos, SEEK_SET); + (void) fseek (file, pos, SEEK_SET); return fread (buf, 1, max, file); }