mirror of
https://github.com/curl/curl.git
synced 2026-04-18 05:21:39 +03:00
fix compiler warning
This commit is contained in:
parent
4022a60ea7
commit
0264faaa4e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
const char *str = curl_easy_strerror(res);
|
||||
if(!str)
|
||||
failf(data, "unspecified error %d", (int)res);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue