aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-04-20 23:01:25 +0000
committerChristian Grothoff <christian@grothoff.org>2008-04-20 23:01:25 +0000
commite94371d4e3015aa883b62af8b22a5fa1b101628a (patch)
tree9537e03aa8b5f41dcaad63427eb0592c57e351b7
parente4f1f8fc4a0485b37f581b422746a6a620367329 (diff)
downloadlibmicrohttpd-e94371d4e3015aa883b62af8b22a5fa1b101628a.tar.gz
libmicrohttpd-e94371d4e3015aa883b62af8b22a5fa1b101628a.zip
another example
-rw-r--r--src/examples/fileserver_example.c2
-rw-r--r--src/examples/fileserver_example_external_select.c2
2 files changed, 2 insertions, 2 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 {
diff --git a/src/examples/fileserver_example_external_select.c b/src/examples/fileserver_example_external_select.c
index 9c3119ea..c913d7e3 100644
--- a/src/examples/fileserver_example_external_select.c
+++ b/src/examples/fileserver_example_external_select.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 {