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:
4022a60
)
fix compiler warning
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Nov 2005 07:23:50 +0000
(07:23 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Nov 2005 07:23:50 +0000
(07:23 +0000)
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
664a412
..
11a8f84
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-2223,7
+2223,7
@@
CURLcode Curl_perform(struct SessionHandle *data)
* an error, use the strerror() string or if things are so bad that not
* even that is good, set a bad string that mentions the error code.
*/
- char *str = curl_easy_strerror(res);
+ c
onst c
har *str = curl_easy_strerror(res);
if(!str)
failf(data, "unspecified error %d", (int)res);
else