[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6734 - libmicrohttpd/src/examples
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6734 - libmicrohttpd/src/examples |
Date: |
Sun, 20 Apr 2008 17:01:25 -0600 (MDT) |
Author: grothoff
Date: 2008-04-20 17:01:25 -0600 (Sun, 20 Apr 2008)
New Revision: 6734
Modified:
libmicrohttpd/src/examples/fileserver_example.c
libmicrohttpd/src/examples/fileserver_example_external_select.c
Log:
another example
Modified: libmicrohttpd/src/examples/fileserver_example.c
===================================================================
--- libmicrohttpd/src/examples/fileserver_example.c 2008-04-20 22:59:49 UTC
(rev 6733)
+++ libmicrohttpd/src/examples/fileserver_example.c 2008-04-20 23:01:25 UTC
(rev 6734)
@@ -60,7 +60,7 @@
FILE *file;
struct stat buf;
- if (0 != strcmp (method, "GET"))
+ if (0 != strcmp (method, MHD_HTTP_METHOD_GET))
return MHD_NO; /* unexpected method */
if (&aptr != *ptr)
{
Modified: libmicrohttpd/src/examples/fileserver_example_external_select.c
===================================================================
--- libmicrohttpd/src/examples/fileserver_example_external_select.c
2008-04-20 22:59:49 UTC (rev 6733)
+++ libmicrohttpd/src/examples/fileserver_example_external_select.c
2008-04-20 23:01:25 UTC (rev 6734)
@@ -60,7 +60,7 @@
FILE *file;
struct stat buf;
- if (0 != strcmp (method, "GET"))
+ if (0 != strcmp (method, MHD_HTTP_METHOD_GET))
return MHD_NO; /* unexpected method */
if (&aptr != *ptr)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6734 - libmicrohttpd/src/examples,
gnunet <=