projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3c5f0
)
compiler warning fix
author
Yang Tse
<yangsita@gmail.com>
Tue, 20 Feb 2007 14:26:15 +0000
(14:26 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 20 Feb 2007 14:26:15 +0000
(14:26 +0000)
lib/getinfo.c
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index
5cf3bca
..
56b5d6f
100644
(file)
--- 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;