gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: test_client_put_stop: removed lib


From: gnunet
Subject: [libmicrohttpd] branch master updated: test_client_put_stop: removed libcurl leftover
Date: Wed, 24 Nov 2021 20:20:37 +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 8b0105d0 test_client_put_stop: removed libcurl leftover
8b0105d0 is described below

commit 8b0105d0d9def8bf21b9ca4ecd763a068d207d8f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Nov 24 22:17:53 2021 +0300

    test_client_put_stop: removed libcurl leftover
---
 src/microhttpd/test_client_put_stop.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/microhttpd/test_client_put_stop.c 
b/src/microhttpd/test_client_put_stop.c
index 814e8418..ec260c87 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -1227,10 +1227,8 @@ performQueryExternal (struct MHD_Daemon *d, struct 
_MHD_dumbClient *clnt)
     fd_set ws;
     fd_set es;
     MHD_socket maxMhdSk;
-    int maxCurlSk;
 
     maxMhdSk = MHD_INVALID_SOCKET;
-    maxCurlSk = -1;
     FD_ZERO (&rs);
     FD_ZERO (&ws);
     FD_ZERO (&es);
@@ -1251,11 +1249,7 @@ performQueryExternal (struct MHD_Daemon *d, struct 
_MHD_dumbClient *clnt)
       mhdErrorExitDesc ("MHD_get_fdset() failed");
     tv.tv_sec = 1;
     tv.tv_usec = 100000;
-#ifdef MHD_POSIX_SOCKETS
-    if (maxMhdSk > maxCurlSk)
-      maxCurlSk = maxMhdSk;
-#endif /* MHD_POSIX_SOCKETS */
-    if (-1 == select (maxCurlSk + 1, &rs, &ws, &es, &tv))
+    if (-1 == select (maxMhdSk + 1, &rs, &ws, &es, &tv))
     {
 #ifdef MHD_POSIX_SOCKETS
       if (EINTR != errno)

-- 
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]