From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 16 Oct 2022 09:08:53 +0000 (+0200)
Subject: drain_and_close_socket(): Add periods to two log messages
X-Git-Tag: v_3_0_34~52
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/@default-cgi@send-banner?a=commitdiff_plain;h=2fca5834565412650ce31d084d07a396f210eddd;p=privoxy.git

drain_and_close_socket(): Add periods to two log messages
---

diff --git a/jbsockets.c b/jbsockets.c
index f3f5750e..e26bc62d 100644
--- a/jbsockets.c
+++ b/jbsockets.c
@@ -850,7 +850,7 @@ void drain_and_close_socket(jb_socket fd)
             bytes_drained_total += bytes_drained;
             if (bytes_drained_total > ARBITRARY_DRAIN_LIMIT)
             {
-               log_error(LOG_LEVEL_CONNECT, "Giving up draining socket %d", fd);
+               log_error(LOG_LEVEL_CONNECT, "Giving up draining socket %d.", fd);
                break;
             }
          }
@@ -858,7 +858,7 @@ void drain_and_close_socket(jb_socket fd)
       if (bytes_drained_total != 0)
       {
          log_error(LOG_LEVEL_CONNECT,
-            "Drained %d bytes before closing socket %d", bytes_drained_total, fd);
+            "Drained %d bytes before closing socket %d.", bytes_drained_total, fd);
       }
    }