aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_concurrent_stop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_concurrent_stop.c')
-rw-r--r--src/testcurl/test_concurrent_stop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_concurrent_stop.c b/src/testcurl/test_concurrent_stop.c
index ee41ef94..306b2b5b 100644
--- a/src/testcurl/test_concurrent_stop.c
+++ b/src/testcurl/test_concurrent_stop.c
@@ -143,7 +143,7 @@ ahc_echo (void *cls,
143 const char *version, 143 const char *version,
144 const char *upload_data, 144 const char *upload_data,
145 size_t *upload_data_size, 145 size_t *upload_data_size,
146 void **usr_data) 146 void **req_cls)
147{ 147{
148 static int marker; 148 static int marker;
149 const char *me = cls; 149 const char *me = cls;
@@ -153,12 +153,12 @@ ahc_echo (void *cls,
153 153
154 if (0 != strcmp (me, method)) 154 if (0 != strcmp (me, method))
155 return MHD_NO; /* unexpected method */ 155 return MHD_NO; /* unexpected method */
156 if (&marker != *usr_data) 156 if (&marker != *req_cls)
157 { 157 {
158 *usr_data = ▮ 158 *req_cls = ▮
159 return MHD_YES; 159 return MHD_YES;
160 } 160 }
161 *usr_data = NULL; 161 *req_cls = NULL;
162 ret = MHD_queue_response (connection, 162 ret = MHD_queue_response (connection,
163 MHD_HTTP_OK, 163 MHD_HTTP_OK,
164 response); 164 response);