mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
lib1536: checksrc compliance
This commit is contained in:
parent
5c4a526388
commit
30593d4534
@ -72,7 +72,8 @@ int test(char *URL)
|
|||||||
if(memcmp(scheme, "HTTP", 5) != 0) {
|
if(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__, CURLPROTO_HTTP, (scheme == NULL ? "NULL" : "invalid"));
|
__FILE__, __LINE__, CURLPROTO_HTTP,
|
||||||
|
(scheme == NULL ? "NULL" : "invalid"));
|
||||||
res = CURLE_HTTP_RETURNED_ERROR;
|
res = CURLE_HTTP_RETURNED_ERROR;
|
||||||
goto test_cleanup;
|
goto test_cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user