summaryrefslogtreecommitdiff
path: root/lib/sendf.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-21 08:17:13 +0000
committerYang Tse <yangsita@gmail.com>2007-03-21 08:17:13 +0000
commitfe10cb2ef59a5989f35f97f86d3b9eaee41d474b (patch)
tree5cbd72613b65dbb3eef18569ec07fe822f09c167 /lib/sendf.h
parent842be6c52f1562c2b78380c790217ad2a9c6a987 (diff)
downloadgnurl-fe10cb2ef59a5989f35f97f86d3b9eaee41d474b.tar.gz
gnurl-fe10cb2ef59a5989f35f97f86d3b9eaee41d474b.tar.bz2
gnurl-fe10cb2ef59a5989f35f97f86d3b9eaee41d474b.zip
avoid the use of variadic macros for greater portability
Diffstat (limited to 'lib/sendf.h')
-rw-r--r--lib/sendf.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 7877df823..65926192d 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -28,19 +28,7 @@ CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *,
void Curl_infof(struct SessionHandle *, const char *fmt, ...);
void Curl_failf(struct SessionHandle *, const char *fmt, ...);
-#if defined(CURL_DISABLE_VERBOSE_STRINGS)
-#if defined(__GNUC__)
-/* This style of variable argument macros is a gcc extension */
-#define infof(x...) /*ignore*/
-#else
-/* C99 compilers could use this if we could detect them */
-/*#define infof(...) */
-/* Cast the args to void to make them a noop, side effects notwithstanding */
-#define infof (void)
-#endif
-#else
#define infof Curl_infof
-#endif
#define failf Curl_failf
#define CLIENTWRITE_BODY 1