]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
examples/multi-single.c: remove WAITMS()
authorDaniel Stenberg <daniel@haxx.se>
Thu, 30 Dec 2021 11:01:57 +0000 (12:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Dec 2021 12:55:54 +0000 (13:55 +0100)
As it isn't used.

Reported-by: Melroy van den Berg
Fixes #8200
Closes #8201

docs/examples/multi-single.c

index ec27da1ed2e92eb522b4676e06d8c1f2109c5674..d7d1fb3ed0677e7715b86b7f824b3fb883d5128c 100644 (file)
 /* 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.
  */