diff options
Diffstat (limited to 'src/examples/fileserver_example.c')
-rw-r--r-- | src/examples/fileserver_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c index 866c2463..1eefff65 100644 --- a/src/examples/fileserver_example.c +++ b/src/examples/fileserver_example.c | |||
@@ -60,7 +60,7 @@ ahc_echo (void *cls, | |||
60 | FILE *file; | 60 | FILE *file; |
61 | struct stat buf; | 61 | struct stat buf; |
62 | 62 | ||
63 | if (0 != strcmp (method, "GET")) | 63 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) |
64 | return MHD_NO; /* unexpected method */ | 64 | return MHD_NO; /* unexpected method */ |
65 | if (&aptr != *ptr) | 65 | if (&aptr != *ptr) |
66 | { | 66 | { |