aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-07-04 13:30:23 -0400
committerDeterminant <[email protected]>2019-07-04 13:30:23 -0400
commit384d9277458cbd90c94d1510e5d20d96b26010c8 (patch)
treea93fd327093fedfdfccd947fbc3887084f03e880 /src
parent69a9bed21f18728483320e88530045180796e2ac (diff)
improve EventContext deleter
Diffstat (limited to 'src')
-rw-r--r--src/conn.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn.cpp b/src/conn.cpp
index 5e663b6..98ad3fc 100644
--- a/src/conn.cpp
+++ b/src/conn.cpp
@@ -273,7 +273,7 @@ void ConnPool::disp_terminate(const conn_t &conn) {
});
}
-void ConnPool::accept_client(int fd, int events) {
+void ConnPool::accept_client(int fd, int) {
int client_fd;
struct sockaddr client_addr;
try {
@@ -285,7 +285,6 @@ void ConnPool::accept_client(int fd, int events) {
}
else
{
- SALTICIDAE_LOG_INFO("%d\n", events);
int one = 1;
if (setsockopt(client_fd, SOL_TCP, TCP_NODELAY, (const char *)&one, sizeof(one)) < 0)
throw ConnPoolError(SALTI_ERROR_ACCEPT, errno);