gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 84/254: curl_setup_once: use SEND_QUAL_ARG2 for swr


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 84/254: curl_setup_once: use SEND_QUAL_ARG2 for swrite
Date: Sat, 17 Jun 2017 16:51:56 +0200

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

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

commit a51ca050fc193aea9b7ace018c1588a107891d49
Author: Marcel Raad <address@hidden>
AuthorDate: Thu May 4 08:50:35 2017 +0200

    curl_setup_once: use SEND_QUAL_ARG2 for swrite
    
    SEND_QUAL_ARG2 had to be set, but was never used. Use it in swrite to
    avoid warnings about casting away low-level const.
    
    Closes https://github.com/curl/curl/pull/1464
---
 lib/curl_setup_once.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/curl_setup_once.h b/lib/curl_setup_once.h
index 4da83499a..684187cae 100644
--- a/lib/curl_setup_once.h
+++ b/lib/curl_setup_once.h
@@ -196,7 +196,7 @@ struct timeval {
   /* */
 #else
 #define swrite(x,y,z) (ssize_t)send((SEND_TYPE_ARG1)(x), \
-                                    (SEND_TYPE_ARG2)(y), \
+                                    (SEND_QUAL_ARG2 SEND_TYPE_ARG2)(y), \
                                     (SEND_TYPE_ARG3)(z), \
                                     (SEND_TYPE_ARG4)(SEND_4TH_ARG))
 #endif

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



reply via email to

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