aboutsummaryrefslogtreecommitdiff
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,
49 struct MHD_Response * response; 49 struct MHD_Response * response;
50 int ret; 50 int ret;
51 51
52 if (0 != strcmp(me, "GET")) 52 if (0 != strcmp(method, "GET"))
53 return MHD_NO; /* unexpected method */ 53 return MHD_NO; /* unexpected method */
54 response = MHD_create_response_from_data(strlen(me), 54 response = MHD_create_response_from_data(strlen(me),
55 (void*) me, 55 (void*) me,