gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: Fixed b468b54f7cbe7bcc9354a9ce4cc


From: gnunet
Subject: [libmicrohttpd] branch master updated: Fixed b468b54f7cbe7bcc9354a9ce4cca644cd79e94ce
Date: Sun, 12 Dec 2021 18:26:16 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new dab61625 Fixed b468b54f7cbe7bcc9354a9ce4cca644cd79e94ce
dab61625 is described below

commit dab616259e454918a18ced8f37b60c530f218579
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Dec 12 20:16:06 2021 +0300

    Fixed b468b54f7cbe7bcc9354a9ce4cca644cd79e94ce
---
 src/testcurl/test_timeout.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/testcurl/test_timeout.c b/src/testcurl/test_timeout.c
index bcc1ad91..2a39fa13 100644
--- a/src/testcurl/test_timeout.c
+++ b/src/testcurl/test_timeout.c
@@ -32,13 +32,14 @@
 #include <microhttpd.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif /* HAVE_UNISTD_H */
+#ifdef HAVE_TIME_H
 #include <time.h>
+#endif /* HAVE_TIME_H */
 #include "mhd_has_in_name.h"
 
-#ifndef WINDOWS
-#include <unistd.h>
-#endif
-
 
 /**
  * Pause execution for specified number of milliseconds.
@@ -55,8 +56,6 @@ _MHD_sleep (uint32_t ms)
   int num_retries = 0;
   while (0 != nanosleep (&slp, &rmn))
   {
-    if (EINTR != errno)
-      externalErrorExit ();
     if (num_retries++ > 8)
       break;
     slp = rmn;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]