summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-12-30 12:01:57 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-12-30 13:55:54 +0100
commite1b04106f8cf3cf2a0b5284ddc048ea621ce94c9 (patch)
treeac761cc237a4845c333188f75a632df577d1018b
parenta4d9876c314a1786912006f6e60f21f3571ae3d1 (diff)
downloadcurl-e1b04106f8cf3cf2a0b5284ddc048ea621ce94c9.tar.gz
examples/multi-single.c: remove WAITMS()
As it isn't used. Reported-by: Melroy van den Berg Fixes #8200 Closes #8201
-rw-r--r--docs/examples/multi-single.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c
index ec27da1ed..d7d1fb3ed 100644
--- a/docs/examples/multi-single.c
+++ b/docs/examples/multi-single.c
@@ -34,15 +34,6 @@
/* curl stuff */
#include <curl/curl.h>
-#ifdef _WIN32
-#define WAITMS(x) Sleep(x)
-#else
-/* Portable sleep for platforms other than Windows. */
-#define WAITMS(x) \
- struct timeval wait = { 0, (x) * 1000 }; \
- (void)select(0, NULL, NULL, NULL, &wait)
-#endif
-
/*
* Simply download a HTTP file.
*/