drain_and_close_socket(): Add periods to two log messages
authorFabian Keil <fk@fabiankeil.de>
Sun, 16 Oct 2022 09:08:53 +0000 (11:08 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sun, 16 Oct 2022 09:37:19 +0000 (11:37 +0200)
jbsockets.c

index f3f5750..e26bc62 100644 (file)
@@ -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);
       }
    }