aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-09-13 10:47:45 +0200
committerDaniel Gustafsson <daniel@yesql.se>2018-09-13 10:47:45 +0200
commite7ee2f29238702f9d3d028baad7a5f1e23b43636 (patch)
tree2b30a884031465141c86ea114e2abd39dc41868f
parent3c5ee47fc206036283bdbcbe4588464bc9a7a5ae (diff)
sendf: Fix whitespace in infof/failf concatenation
Strings broken on multiple rows in the .c file need to have appropriate whitespace padding on either side of the concatenation point to render a correct amalgamated string. Fix by adding a space at the occurrences found. Closes #2986 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
-rw-r--r--lib/security.c2
-rw-r--r--lib/vtls/schannel_verify.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/security.c b/lib/security.c
index abf242c38..5f52515ed 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -422,7 +422,7 @@ static int sec_set_protection_level(struct connectdata *conn)
if(!conn->sec_complete) {
infof(conn->data, "Trying to change the protection level after the"
- "completion of the data exchange.\n");
+ " completion of the data exchange.\n");
return -1;
}
diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c
index 27d28e218..cfc4adfe9 100644
--- a/lib/vtls/schannel_verify.c
+++ b/lib/vtls/schannel_verify.c
@@ -244,7 +244,7 @@ static CURLcode add_certs_to_store(HCERTSTORE trust_store,
CertFreeCertificateContext(cert_context);
if(!add_cert_result) {
failf(data,
- "schannel: failed to add certificate from CA file '%s'"
+ "schannel: failed to add certificate from CA file '%s' "
"to certificate store: %s",
ca_file, Curl_strerror(conn, GetLastError()));
result = CURLE_SSL_CACERT_BADFILE;