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:
b0fbb98
)
Allow CURLINFO_PRIVATE to be NULL, patch by Markus Oberhumer
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Jan 2003 10:59:53 +0000
(10:59 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 16 Jan 2003 10:59:53 +0000
(10:59 +0000)
lib/getinfo.c
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index
009a3c1
..
1fa12f8
100644
(file)
--- a/
lib/getinfo.c
+++ b/
lib/getinfo.c
@@
-159,7
+159,7
@@
CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
*param_charp = data->info.contenttype;
break;
case CURLINFO_PRIVATE:
- *param_charp = data->set.private
?data->set.private:(char *)""
;
+ *param_charp = data->set.private;
break;
default:
return CURLE_BAD_FUNCTION_ARGUMENT;