[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
- [GNUnet-SVN] [gnurl] 213/254: cyassl: define build macros before including ssl.h, (continued)
- [GNUnet-SVN] [gnurl] 213/254: cyassl: define build macros before including ssl.h, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 46/254: examples: fixed too long line and too long string warnings, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 203/254: build: provide easy code coverage measuring, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 248/254: configure: update the copyright year in the output, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 139/254: CURLOPT_HTTPPROXYTUNNEL: clarify, add example, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 67/254: buffer: use data->set.buffer_size instead of BUFSIZE, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 195/254: CURLOPT_SSH_KEY*.3: typos, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 192/254: CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 140/254: docs/libcurl/opts: added more examples in man pages, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 171/254: ssh: fix 'left' may be used uninitialized, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 84/254: curl_setup_once: use SEND_QUAL_ARG2 for swrite,
gnunet <=
- [GNUnet-SVN] [gnurl] 160/254: assert: avoid, use DEBUGASSERT instead!, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 209/254: MD(4|5): silence cast-align clang warning, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 187/254: curl-compilers.m4: enable -Wshift-sign-overflow for clang, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 247/254: BINDINGS: update SP-Forth and OCaml urls, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 219/254: travis: add coverage, distcheck and cmake builds, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 223/254: RELEASE-NOTES: synced with 65ba92650, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 186/254: CURLOPT_PROXY.3: fix test 1140 breakage, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 162/254: url: fix declaration of 'pipe' shadows a global declaration, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 214/254: updatemanpages.pl: error out on too old git version, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 148/254: mkhelp.pl: do not add current time into curl binary, gnunet, 2017/06/17