aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_put_large.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-15 01:19:44 +0000
committerChristian Grothoff <christian@grothoff.org>2015-04-15 01:19:44 +0000
commit1a11c2c680e4cce9a63842db24d8e8b2194e7178 (patch)
treeca48dfa8b293c3cdcf266fd97fb97eec16d06d16 /src/testzzuf/test_put_large.c
parent639bfd972debb7408386bc8977a88618178fb37c (diff)
downloadlibmicrohttpd-1a11c2c680e4cce9a63842db24d8e8b2194e7178.tar.gz
libmicrohttpd-1a11c2c680e4cce9a63842db24d8e8b2194e7178.zip
fix #3753
Diffstat (limited to 'src/testzzuf/test_put_large.c')
-rw-r--r--src/testzzuf/test_put_large.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/test_put_large.c b/src/testzzuf/test_put_large.c
index ae95ef03..1fdc92a9 100644
--- a/src/testzzuf/test_put_large.c
+++ b/src/testzzuf/test_put_large.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file daemontest_large_put.c 22 * @file test_put_large.c
23 * @brief Testcase for libmicrohttpd PUT operations 23 * @brief Testcase for libmicrohttpd PUT operations
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
@@ -360,13 +360,13 @@ testExternalPut ()
360} 360}
361 361
362 362
363
364int 363int
365main (int argc, char *const *argv) 364main (int argc, char *const *argv)
366{ 365{
367 unsigned int errorCount = 0; 366 unsigned int errorCount = 0;
368 367
369 oneone = NULL != strstr (argv[0], "11"); 368 oneone = (NULL != strrchr (argv[0], (int) '/')) ?
369 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
370 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 370 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
371 return 2; 371 return 2;
372 put_buffer = malloc (PUT_SIZE); 372 put_buffer = malloc (PUT_SIZE);