diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-08 15:29:55 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-08 16:32:09 +0300 |
commit | cdb146b8845ca1ae30f362de5be7c469a8ed7b95 (patch) | |
tree | fd55350e0c86d28814142528d32b7b9ab7dd8264 /src/testcurl | |
parent | e58fbba00a9439fc918d0ebd44f943818cb664f7 (diff) | |
download | libmicrohttpd-cdb146b8845ca1ae30f362de5be7c469a8ed7b95.tar.gz libmicrohttpd-cdb146b8845ca1ae30f362de5be7c469a8ed7b95.zip |
cosmetic fixes
Diffstat (limited to 'src/testcurl')
-rw-r--r-- | src/testcurl/curl_version_check.c | 3 | ||||
-rw-r--r-- | src/testcurl/perf_get.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testcurl/curl_version_check.c b/src/testcurl/curl_version_check.c index 445c85d7..315c50ce 100644 --- a/src/testcurl/curl_version_check.c +++ b/src/testcurl/curl_version_check.c | |||
@@ -103,7 +103,8 @@ curl_check_version (const char *req_version) | |||
103 | * this call relies on the cURL string to be of the exact following format : | 103 | * this call relies on the cURL string to be of the exact following format : |
104 | * 'libcurl/7.16.4 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/0.6.5' OR | 104 | * 'libcurl/7.16.4 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/0.6.5' OR |
105 | * 'libcurl/7.18.2 GnuTLS/2.4.0 zlib/1.2.3.3 libidn/0.6.5' | 105 | * 'libcurl/7.18.2 GnuTLS/2.4.0 zlib/1.2.3.3 libidn/0.6.5' |
106 | */curl_ver = strchr (ver, '/'); | 106 | */ |
107 | curl_ver = strchr (ver, '/'); | ||
107 | if (curl_ver == NULL) | 108 | if (curl_ver == NULL) |
108 | return -1; | 109 | return -1; |
109 | curl_ver++; | 110 | curl_ver++; |
diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c index eb33ea0c..4a903e39 100644 --- a/src/testcurl/perf_get.c +++ b/src/testcurl/perf_get.c | |||
@@ -569,7 +569,8 @@ testExternalGet (int port) | |||
569 | in actual runtime right now, even though the | 569 | in actual runtime right now, even though the |
570 | number of select calls is virtually cut in half | 570 | number of select calls is virtually cut in half |
571 | (and 'select' is the most expensive of our system | 571 | (and 'select' is the most expensive of our system |
572 | calls according to 'strace') */if (0) | 572 | calls according to 'strace') */ |
573 | if (0) | ||
573 | MHD_run (d); | 574 | MHD_run (d); |
574 | else | 575 | else |
575 | MHD_run_from_select (d, &rs, &ws, &es); | 576 | MHD_run_from_select (d, &rs, &ws, &es); |