From e7ee2f29238702f9d3d028baad7a5f1e23b43636 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Thu, 13 Sep 2018 10:47:45 +0200 Subject: 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 --- lib/security.c | 2 +- lib/vtls/schannel_verify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3