aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf')
-rw-r--r--src/testzzuf/daemontest_get_chunked.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testzzuf/daemontest_get_chunked.c b/src/testzzuf/daemontest_get_chunked.c
index 655f402a..35eed49d 100644
--- a/src/testzzuf/daemontest_get_chunked.c
+++ b/src/testzzuf/daemontest_get_chunked.c
@@ -69,7 +69,7 @@ crc (void *cls, uint64_t pos, char *buf, size_t max)
69 if (pos == 128 * 10) 69 if (pos == 128 * 10)
70 { 70 {
71 MHD_add_response_header (*responseptr, "Footer", "working"); 71 MHD_add_response_header (*responseptr, "Footer", "working");
72 return -1; /* end of stream */ 72 return MHD_CONTENT_READER_END_OF_STREAM;
73 } 73 }
74 if (max < 128) 74 if (max < 128)
75 abort (); /* should not happen in this testcase... */ 75 abort (); /* should not happen in this testcase... */
@@ -109,7 +109,7 @@ ahc_echo (void *cls,
109 return MHD_YES; 109 return MHD_YES;
110 } 110 }
111 responseptr = malloc (sizeof (struct MHD_Response *)); 111 responseptr = malloc (sizeof (struct MHD_Response *));
112 response = MHD_create_response_from_callback (-1, 112 response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN,
113 1024, 113 1024,
114 &crc, responseptr, &crcf); 114 &crc, responseptr, &crcf);
115 *responseptr = response; 115 *responseptr = response;