X-Git-Url: http://www.privoxy.org/gitweb/gpl.html?a=blobdiff_plain;f=jbsockets.c;h=1c4db6830986d0704f112ef8c4a9a430a8064ce2;hb=34dbb5e07a859c5d1f14de8dfbf688ce7bf0e6f0;hp=f3f5750e0b5498137216c653d70910c25fd6b2b5;hpb=b2418db26b2b4b04d74c388b652c450f3b5dd6d2;p=privoxy.git
diff --git a/jbsockets.c b/jbsockets.c
index f3f5750e..1c4db683 100644
--- a/jbsockets.c
+++ b/jbsockets.c
@@ -7,7 +7,7 @@
* OS-independent. Contains #ifdefs to make this work
* on many platforms.
*
- * Copyright : Written by and Copyright (C) 2001-2017 the
+ * Copyright : Written by and Copyright (C) 2001-2022 the
* Privoxy team. https://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
@@ -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);
}
}
@@ -912,7 +912,7 @@ int bind_port(const char *hostnam, int portnum, int backlog, jb_socket *pfd)
if ((-1 == retval) || (sizeof(servnam) <= retval))
{
log_error(LOG_LEVEL_ERROR,
- "Port number (%d) ASCII decimal representation doesn't fit into 6 bytes",
+ "Port number (%d) ASCII decimal representation doesn't fit into 6 bytes.",
portnum);
return -1;
}
@@ -1439,7 +1439,7 @@ int accept_connection(struct client_state * csp, jb_socket fds[])
if ((-1 == retval) || listen_addr_size <= retval)
{
log_error(LOG_LEVEL_ERROR,
- "Server name (%s) and port number (%d) ASCII decimal representation"
+ "Server name (%s) and port number (%d) ASCII decimal representation "
"don't fit into %lu bytes",
host_addr, csp->config->hport[i], listen_addr_size);
return 0;