commit | 69ea5797008071ee9a9ed7aae78136a6118bfa25 | [log] [tgz] |
---|---|---|
author | Jay Satiro <raysatiro@yahoo.com> | Thu Oct 01 16:39:40 2015 -0400 |
committer | Jay Satiro <raysatiro@yahoo.com> | Sun Oct 04 17:29:43 2015 -0400 |
tree | dadbc262a89cd2c57389a63fee5ccd70a8b5c8f1 | |
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.