diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-10-01 16:39:40 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-10-04 17:29:43 -0400 |
commit | 69ea5797008071ee9a9ed7aae78136a6118bfa25 (patch) | |
tree | dadbc262a89cd2c57389a63fee5ccd70a8b5c8f1 /tests/data/test909 | |
parent | b1d55997e53076f96ae9ecc8b03daf3e57ef7318 (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 'tests/data/test909')
0 files changed, 0 insertions, 0 deletions