From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 21 Apr 2022 09:53:46 +0000 (+0200)
Subject: send_https_request(): Add periods to a couple of log messages
X-Git-Tag: v_3_0_34~113
X-Git-Url: http://www.privoxy.org/gitweb/user-manual/static/faq/@default-cgi@send-stylesheet?a=commitdiff_plain;h=67725d3fec4731da03f9fa6c95043d1af58ef056;p=privoxy.git

send_https_request(): Add periods to a couple of log messages
---

diff --git a/jcc.c b/jcc.c
index 6a4b3fb1..43d9accf 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2422,7 +2422,7 @@ static int send_https_request(struct client_state *csp)
    if (hdr == NULL)
    {
       /* FIXME Should handle error properly */
-      log_error(LOG_LEVEL_FATAL, "Out of memory parsing client header");
+      log_error(LOG_LEVEL_FATAL, "Out of memory parsing client header.");
    }
    list_remove_all(csp->https_headers);
 
@@ -2459,14 +2459,14 @@ static int send_https_request(struct client_state *csp)
          if (csp->expected_client_content_length < flushed)
          {
             log_error(LOG_LEVEL_ERROR,
-               "Flushed %ld bytes of request body while only expecting %llu",
+               "Flushed %ld bytes of request body while only expecting %llu.",
                flushed, csp->expected_client_content_length);
             csp->expected_client_content_length = 0;
          }
          else
          {
             log_error(LOG_LEVEL_CONNECT,
-               "Flushed %ld bytes of request body while expecting %llu",
+               "Flushed %ld bytes of request body while expecting %llu.",
                flushed, csp->expected_client_content_length);
             csp->expected_client_content_length -= (unsigned)flushed;
             if (receive_and_send_encrypted_post_data(csp))
@@ -2478,11 +2478,11 @@ static int send_https_request(struct client_state *csp)
       else
       {
          log_error(LOG_LEVEL_CONNECT,
-            "Flushed %ld bytes of request body", flushed);
+            "Flushed %ld bytes of request body.", flushed);
       }
    }
 
-   log_error(LOG_LEVEL_CONNECT, "Encrypted request sent");
+   log_error(LOG_LEVEL_CONNECT, "Encrypted request sent.");
 
    return 0;