aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemontest_put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-09-09 03:56:10 +0000
committerChristian Grothoff <christian@grothoff.org>2007-09-09 03:56:10 +0000
commit21acb929f578eb8f876c235669b78d6b213ec315 (patch)
tree45f89714c45e2a4f0999f2601fb8df7076f5b4fd /src/daemon/daemontest_put.c
parent5e828bda99ed11ae9f183965eece0b5931ec0270 (diff)
downloadlibmicrohttpd-21acb929f578eb8f876c235669b78d6b213ec315.tar.gz
libmicrohttpd-21acb929f578eb8f876c235669b78d6b213ec315.zip
incremental post processing API and implementation
Diffstat (limited to 'src/daemon/daemontest_put.c')
-rw-r--r--src/daemon/daemontest_put.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/daemon/daemontest_put.c b/src/daemon/daemontest_put.c
index ad761025..2c3acfdb 100644
--- a/src/daemon/daemontest_put.c
+++ b/src/daemon/daemontest_put.c
@@ -77,7 +77,7 @@ ahc_echo (void *cls,
77 const char *method, 77 const char *method,
78 const char *version, 78 const char *version,
79 const char *upload_data, unsigned int *upload_data_size, 79 const char *upload_data, unsigned int *upload_data_size,
80 void ** unused) 80 void **unused)
81{ 81{
82 int *done = cls; 82 int *done = cls;
83 struct MHD_Response *response; 83 struct MHD_Response *response;
@@ -363,10 +363,11 @@ main (int argc, char *const *argv)
363 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 363 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
364 return 2; 364 return 2;
365 errorCount += testInternalPut (); 365 errorCount += testInternalPut ();
366 if (0) { 366 if (0)
367 errorCount += testMultithreadedPut (); 367 {
368 errorCount += testExternalPut (); 368 errorCount += testMultithreadedPut ();
369 } 369 errorCount += testExternalPut ();
370 }
370 if (errorCount != 0) 371 if (errorCount != 0)
371 fprintf (stderr, "Error (code: %u)\n", errorCount); 372 fprintf (stderr, "Error (code: %u)\n", errorCount);
372 curl_global_cleanup (); 373 curl_global_cleanup ();