aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-20 14:26:15 +0000
committerYang Tse <yangsita@gmail.com>2007-02-20 14:26:15 +0000
commit8c0b1dc3c5f2de037579b59f243c92a6e5b9567d (patch)
tree1429d19575782051dc7bd21aa82ff2b60e94b53f
parentbe3c5f0b94e6175e0983f567a604924e517a2e41 (diff)
compiler warning fix
-rw-r--r--lib/getinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 5cf3bcacd..56b5d6f9f 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -75,7 +75,9 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
double *param_doublep=NULL;
char **param_charp=NULL;
struct curl_slist **param_slistp=NULL;
+#ifdef MSG_PEEK
char buf;
+#endif
if(!data)
return CURLE_BAD_FUNCTION_ARGUMENT;