aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_tricky.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-28 17:19:54 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-28 19:06:46 +0300
commitba77b04c65c5b6b0bad204f8e08f986b5c215dc0 (patch)
tree71e79ab5177d0cbb1acfacbf680177236b87283b /src/testcurl/test_tricky.c
parentc6eae238be6357a7e0b77298a0cdada4c63e80bc (diff)
downloadlibmicrohttpd-ba77b04c65c5b6b0bad204f8e08f986b5c215dc0.tar.gz
libmicrohttpd-ba77b04c65c5b6b0bad204f8e08f986b5c215dc0.zip
Replaced calls of MHD_get_timeout() in tests and examples
The calls were replaced with the calls of the new functions. Completely removed the usage of MHD_UNSIGNED_LONG_LONG.
Diffstat (limited to 'src/testcurl/test_tricky.c')
-rw-r--r--src/testcurl/test_tricky.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testcurl/test_tricky.c b/src/testcurl/test_tricky.c
index 1aca7dce..5bc28323 100644
--- a/src/testcurl/test_tricky.c
+++ b/src/testcurl/test_tricky.c
@@ -591,8 +591,7 @@ performQueryExternal (struct MHD_Daemon *d, CURL *c)
591 } 591 }
592 if (NULL == multi) 592 if (NULL == multi)
593 { /* libcurl has finished, check whether MHD still needs to perform cleanup */ 593 { /* libcurl has finished, check whether MHD still needs to perform cleanup */
594 unsigned long long to; 594 if (0 != MHD_get_timeout64s (d))
595 if ((MHD_YES != MHD_get_timeout (d, &to)) || (0 != to))
596 break; /* MHD finished as well */ 595 break; /* MHD finished as well */
597 } 596 }
598 if (MHD_YES != MHD_get_fdset (d, &rs, &ws, &es, &maxMhdSk)) 597 if (MHD_YES != MHD_get_fdset (d, &rs, &ws, &es, &maxMhdSk))