]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sendf: Fix whitespace in infof/failf concatenation
authorDaniel Gustafsson <daniel@yesql.se>
Thu, 13 Sep 2018 08:47:45 +0000 (10:47 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Thu, 13 Sep 2018 08:47:45 +0000 (10:47 +0200)
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>
lib/security.c
lib/vtls/schannel_verify.c

index abf242c38d5b5f4f3ff01f7a1d5c0da7c26d9282..5f52515ed4375da3338307bcacf3e1c1ba716e8f 100644 (file)
@@ -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;
   }
 
index 27d28e2187c88486998b26a5f20b8e2337e3efd3..cfc4adfe9e36e174973c509b52ba2578238577fe 100644 (file)
@@ -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;