mirror of
https://github.com/curl/curl.git
synced 2026-07-24 08:47:50 +03:00
setopt: allow CURLOPT_INTERFACE to be set to NULL
Ref: https://github.com/curl/curl/discussions/14299#discussioncomment-10393909
Regression from 3060557af7 (shipped in 8.9.0)
Closes #14629
This commit is contained in:
parent
3065f106e3
commit
b0b4b481b5
4 changed files with 19 additions and 21 deletions
|
|
@ -58,8 +58,7 @@ static void test_parse(
|
|||
char *dev = NULL;
|
||||
char *iface = NULL;
|
||||
char *host = NULL;
|
||||
CURLcode rc = Curl_parse_interface(
|
||||
input, strlen(input), &dev, &iface, &host);
|
||||
CURLcode rc = Curl_parse_interface(input, &dev, &iface, &host);
|
||||
fail_unless(rc == exp_rc, "Curl_parse_interface() failed");
|
||||
|
||||
fail_unless(!!exp_dev == !!dev, "dev expectation failed.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue