diff options
Diffstat (limited to 'src/microhttpd/test_postprocessor_large.c')
-rw-r--r-- | src/microhttpd/test_postprocessor_large.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_postprocessor_large.c b/src/microhttpd/test_postprocessor_large.c index 4d5f1ece..7fcc5d5a 100644 --- a/src/microhttpd/test_postprocessor_large.c +++ b/src/microhttpd/test_postprocessor_large.c | |||
@@ -63,7 +63,7 @@ static int | |||
63 | test_simple_large () | 63 | test_simple_large () |
64 | { | 64 | { |
65 | struct MHD_Connection connection; | 65 | struct MHD_Connection connection; |
66 | struct MHD_HTTP_Header header; | 66 | struct MHD_HTTP_Req_Header header; |
67 | struct MHD_PostProcessor *pp; | 67 | struct MHD_PostProcessor *pp; |
68 | size_t i; | 68 | size_t i; |
69 | size_t delta; | 69 | size_t delta; |
@@ -76,7 +76,7 @@ test_simple_large () | |||
76 | memcpy (data, "key=", 4); | 76 | memcpy (data, "key=", 4); |
77 | data[sizeof (data) - 1] = '\0'; | 77 | data[sizeof (data) - 1] = '\0'; |
78 | memset (&connection, 0, sizeof (struct MHD_Connection)); | 78 | memset (&connection, 0, sizeof (struct MHD_Connection)); |
79 | memset (&header, 0, sizeof (struct MHD_HTTP_Header)); | 79 | memset (&header, 0, sizeof (struct MHD_HTTP_Res_Header)); |
80 | connection.headers_received = &header; | 80 | connection.headers_received = &header; |
81 | header.header = MHD_HTTP_HEADER_CONTENT_TYPE; | 81 | header.header = MHD_HTTP_HEADER_CONTENT_TYPE; |
82 | header.value = MHD_HTTP_POST_ENCODING_FORM_URLENCODED; | 82 | header.value = MHD_HTTP_POST_ENCODING_FORM_URLENCODED; |