Skip to content

Commit

Permalink
Add error to strerror
Browse files Browse the repository at this point in the history
  • Loading branch information
zagor committed Feb 10, 2018
1 parent 8049cf0 commit 0d7172a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/strerror.c
Expand Up @@ -312,6 +312,9 @@ curl_easy_strerror(CURLcode error)
case CURLE_HTTP2_STREAM:
return "Stream error in the HTTP/2 framing layer";

case CURLE_RECURSIVE_API_CALL:
return "API function called from within callback";

/* error codes not used by current libcurl */
case CURLE_OBSOLETE20:
case CURLE_OBSOLETE24:
Expand Down

0 comments on commit 0d7172a

Please sign in to comment.