diff options
Diffstat (limited to 'src/daemon/daemontest_post.c')
-rw-r--r-- | src/daemon/daemontest_post.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/daemon/daemontest_post.c b/src/daemon/daemontest_post.c index 3c69dadc..5db2d6f8 100644 --- a/src/daemon/daemontest_post.c +++ b/src/daemon/daemontest_post.c | |||
@@ -41,12 +41,6 @@ | |||
41 | 41 | ||
42 | static int oneone; | 42 | static int oneone; |
43 | 43 | ||
44 | static int apc_all(void * cls, | ||
45 | const struct sockaddr * addr, | ||
46 | socklen_t addrlen) { | ||
47 | return MHD_YES; | ||
48 | } | ||
49 | |||
50 | struct CBC { | 44 | struct CBC { |
51 | char * buf; | 45 | char * buf; |
52 | size_t pos; | 46 | size_t pos; |
@@ -121,7 +115,7 @@ static int testInternalPost() { | |||
121 | cbc.pos = 0; | 115 | cbc.pos = 0; |
122 | d = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, | 116 | d = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, |
123 | 1080, | 117 | 1080, |
124 | &apc_all, | 118 | NULL, |
125 | NULL, | 119 | NULL, |
126 | &ahc_echo, | 120 | &ahc_echo, |
127 | NULL, | 121 | NULL, |