gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 82/173: sws: use SOCKERRNO, not errno


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 82/173: sws: use SOCKERRNO, not errno
Date: Fri, 24 Feb 2017 14:01:44 +0100

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

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 81cb255cb355ca35453e7297af9cbc8ff7798416
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Jan 19 23:03:59 2017 +0100

    sws: use SOCKERRNO, not errno
    
    Reported-by: Gisle Vanem
---
 tests/server/sws.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/server/sws.c b/tests/server/sws.c
index 63e9fdf5c..5646f965b 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -1204,7 +1204,7 @@ static int send_doc(curl_socket_t sock, struct 
httprequest *req)
     retry:
     written = swrite(sock, buffer, num);
     if(written < 0) {
-      if((EWOULDBLOCK == errno) || (EAGAIN == errno)) {
+      if((EWOULDBLOCK == SOCKERRNO) || (EAGAIN == SOCKERRNO)) {
         wait_ms(10);
         goto retry;
       }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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