aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemontest_postform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemontest_postform.c')
-rw-r--r--src/daemon/daemontest_postform.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/daemon/daemontest_postform.c b/src/daemon/daemontest_postform.c
index 00734df6..4142b138 100644
--- a/src/daemon/daemontest_postform.c
+++ b/src/daemon/daemontest_postform.c
@@ -73,11 +73,7 @@ post_iterator (void *cls,
73 int *eok = cls; 73 int *eok = cls;
74 74
75#if 0 75#if 0
76 fprintf(stderr, 76 fprintf (stderr, "PI sees %s-%.*s\n", key, size, value);
77 "PI sees %s-%.*s\n",
78 key,
79 size,
80 value);
81#endif 77#endif
82 if ((0 == strcmp (key, "name")) && 78 if ((0 == strcmp (key, "name")) &&
83 (size == strlen ("daniel")) && (0 == strncmp (value, "daniel", size))) 79 (size == strlen ("daniel")) && (0 == strncmp (value, "daniel", size)))
@@ -102,7 +98,7 @@ ahc_echo (void *cls,
102 struct MHD_PostProcessor *pp; 98 struct MHD_PostProcessor *pp;
103 int ret; 99 int ret;
104 100
105 if (0 != strcmp ("POST", method)) 101 if (0 != strcmp ("POST", method))
106 { 102 {
107 printf ("METHOD: %s\n", method); 103 printf ("METHOD: %s\n", method);
108 return MHD_NO; /* unexpected method */ 104 return MHD_NO; /* unexpected method */