diff options
Diffstat (limited to 'src/microhttpd/test_client_put_stop.c')
-rw-r--r-- | src/microhttpd/test_client_put_stop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c index c1707c5c..6c641e6f 100644 --- a/src/microhttpd/test_client_put_stop.c +++ b/src/microhttpd/test_client_put_stop.c | |||
@@ -1052,12 +1052,12 @@ struct term_notif_cb_param | |||
1052 | static void | 1052 | static void |
1053 | term_cb (void *cls, | 1053 | term_cb (void *cls, |
1054 | struct MHD_Connection *c, | 1054 | struct MHD_Connection *c, |
1055 | void **con_cls, | 1055 | void **req_cls, |
1056 | enum MHD_RequestTerminationCode term_code) | 1056 | enum MHD_RequestTerminationCode term_code) |
1057 | { | 1057 | { |
1058 | struct term_notif_cb_param *param = (struct term_notif_cb_param *) cls; | 1058 | struct term_notif_cb_param *param = (struct term_notif_cb_param *) cls; |
1059 | if (NULL == con_cls) | 1059 | if (NULL == req_cls) |
1060 | mhdErrorExitDesc ("'con_cls' pointer is NULL"); | 1060 | mhdErrorExitDesc ("'req_cls' pointer is NULL"); |
1061 | if (NULL == c) | 1061 | if (NULL == c) |
1062 | mhdErrorExitDesc ("'connection' pointer is NULL"); | 1062 | mhdErrorExitDesc ("'connection' pointer is NULL"); |
1063 | if (NULL == param) | 1063 | if (NULL == param) |
@@ -1220,7 +1220,7 @@ ahcCheck (void *cls, | |||
1220 | const char *method, | 1220 | const char *method, |
1221 | const char *version, | 1221 | const char *version, |
1222 | const char *upload_data, size_t *upload_data_size, | 1222 | const char *upload_data, size_t *upload_data_size, |
1223 | void **con_cls) | 1223 | void **req_cls) |
1224 | { | 1224 | { |
1225 | static int marker; | 1225 | static int marker; |
1226 | enum MHD_Result ret; | 1226 | enum MHD_Result ret; |
@@ -1273,13 +1273,13 @@ ahcCheck (void *cls, | |||
1273 | *upload_data_size = 0; | 1273 | *upload_data_size = 0; |
1274 | } | 1274 | } |
1275 | 1275 | ||
1276 | if (&marker != *con_cls) | 1276 | if (&marker != *req_cls) |
1277 | { | 1277 | { |
1278 | /* The first call of the callback for this connection */ | 1278 | /* The first call of the callback for this connection */ |
1279 | mhd_assert (NULL == upload_data); | 1279 | mhd_assert (NULL == upload_data); |
1280 | param->req_body_uploaded = 0; | 1280 | param->req_body_uploaded = 0; |
1281 | 1281 | ||
1282 | *con_cls = ▮ | 1282 | *req_cls = ▮ |
1283 | return MHD_YES; | 1283 | return MHD_YES; |
1284 | } | 1284 | } |
1285 | 1285 | ||