summaryrefslogtreecommitdiff
path: root/src/daemon/minimal_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/minimal_example.c')
-rw-r--r--src/daemon/minimal_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/minimal_example.c b/src/daemon/minimal_example.c
index 189c557e..009721d6 100644
--- a/src/daemon/minimal_example.c
+++ b/src/daemon/minimal_example.c
@@ -49,7 +49,7 @@ static int ahc_echo(void * cls,
struct MHD_Response * response;
int ret;
- if (0 != strcmp(me, "GET"))
+ if (0 != strcmp(method, "GET"))
return MHD_NO; /* unexpected method */
response = MHD_create_response_from_data(strlen(me),
(void*) me,