mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 14:05:03 -05:00
parent
b2d906754c
commit
4088b25b33
@ -69,7 +69,7 @@ int test(char *URL)
|
|||||||
__FILE__, __LINE__, res, curl_easy_strerror(res));
|
__FILE__, __LINE__, res, curl_easy_strerror(res));
|
||||||
goto test_cleanup;
|
goto test_cleanup;
|
||||||
}
|
}
|
||||||
if(memcmp(scheme, "HTTP", 5) != 0) {
|
if(scheme == NULL || memcmp(scheme, "HTTP", 5) != 0) {
|
||||||
fprintf(stderr, "%s:%d scheme of http resource is incorrect; "
|
fprintf(stderr, "%s:%d scheme of http resource is incorrect; "
|
||||||
"expected 'HTTP' but is %s\n",
|
"expected 'HTTP' but is %s\n",
|
||||||
__FILE__, __LINE__,
|
__FILE__, __LINE__,
|
||||||
|
Loading…
Reference in New Issue
Block a user