1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

lib1536: checksrc compliance

This commit is contained in:
Jay Satiro 2016-11-28 03:06:04 -05:00
parent 5c4a526388
commit 30593d4534

View File

@ -72,7 +72,8 @@ int test(char *URL)
if(memcmp(scheme, "HTTP", 5) != 0) {
fprintf(stderr, "%s:%d scheme of http resource is incorrect; "
"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;
goto test_cleanup;
}