aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_get.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_get.c
parent639bfd972debb7408386bc8977a88618178fb37c (diff)
downloadlibmicrohttpd-1a11c2c680e4cce9a63842db24d8e8b2194e7178.tar.gz
libmicrohttpd-1a11c2c680e4cce9a63842db24d8e8b2194e7178.zip
fix #3753
Diffstat (limited to 'src/testzzuf/test_get.c')
-rw-r--r--src/testzzuf/test_get.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/test_get.c b/src/testzzuf/test_get.c
index 50fcb2c1..47cbe120 100644
--- a/src/testzzuf/test_get.c
+++ b/src/testzzuf/test_get.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file daemontest_get.c 22 * @file test_get.c
23 * @brief Testcase for libmicrohttpd GET operations 23 * @brief Testcase for libmicrohttpd GET operations
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
@@ -295,13 +295,13 @@ testExternalGet ()
295} 295}
296 296
297 297
298
299int 298int
300main (int argc, char *const *argv) 299main (int argc, char *const *argv)
301{ 300{
302 unsigned int errorCount = 0; 301 unsigned int errorCount = 0;
303 302
304 oneone = NULL != strstr (argv[0], "11"); 303 oneone = (NULL != strrchr (argv[0], (int) '/')) ?
304 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
305 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 305 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
306 return 2; 306 return 2;
307 errorCount += testInternalGet (); 307 errorCount += testInternalGet ();