aboutsummaryrefslogtreecommitdiff
path: root/lib/netrc.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-10-01 16:39:40 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-10-04 17:29:43 -0400
commit69ea5797008071ee9a9ed7aae78136a6118bfa25 (patch)
treedadbc262a89cd2c57389a63fee5ccd70a8b5c8f1 /lib/netrc.h
parentb1d55997e53076f96ae9ecc8b03daf3e57ef7318 (diff)
getinfo: Fix return code for unknown CURLINFO options
- If a CURLINFO option is unknown return CURLE_UNKNOWN_OPTION. Prior to this change CURLE_BAD_FUNCTION_ARGUMENT was returned on unknown. That return value is contradicted by the CURLINFO option documentation which specifies a return of CURLE_UNKNOWN_OPTION on unknown.
Diffstat (limited to 'lib/netrc.h')
0 files changed, 0 insertions, 0 deletions