diff options
Diffstat (limited to 'src/testzzuf/test_put.c')
-rw-r--r-- | src/testzzuf/test_put.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testzzuf/test_put.c b/src/testzzuf/test_put.c index d93b50e6..c6240c44 100644 --- a/src/testzzuf/test_put.c +++ b/src/testzzuf/test_put.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file daemontest_put.c | 22 | * @file test_put.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 | */ |
@@ -342,13 +342,13 @@ testExternalPut () | |||
342 | } | 342 | } |
343 | 343 | ||
344 | 344 | ||
345 | |||
346 | int | 345 | int |
347 | main (int argc, char *const *argv) | 346 | main (int argc, char *const *argv) |
348 | { | 347 | { |
349 | unsigned int errorCount = 0; | 348 | unsigned int errorCount = 0; |
350 | 349 | ||
351 | oneone = NULL != strstr (argv[0], "11"); | 350 | oneone = (NULL != strrchr (argv[0], (int) '/')) ? |
351 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | ||
352 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 352 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
353 | return 2; | 353 | return 2; |
354 | errorCount += testInternalPut (); | 354 | errorCount += testInternalPut (); |