This commit is contained in:
Daniel Stenberg 2005-11-18 07:23:50 +00:00
Родитель 4022a60ea7
Коммит 0264faaa4e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2223,7 +2223,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
* an error, use the strerror() string or if things are so bad that not * 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. * 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) if(!str)
failf(data, "unspecified error %d", (int)res); failf(data, "unspecified error %d", (int)res);
else else