summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c2
-rw-r--r--common/spio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index 2a312ad..ccfdcf2 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -492,7 +492,7 @@ static void connection_loop(int sock)
/* Set timeouts on client */
if(setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &(g_state.timeout), sizeof(g_state.timeout)) < 0 ||
setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &(g_state.timeout), sizeof(g_state.timeout)) < 0)
- sp_message(NULL, LOG_WARNING, "couldn't set timeouts on incoming connection");
+ sp_message(NULL, LOG_DEBUG, "couldn't set timeouts on incoming connection");
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD, 0) | FD_CLOEXEC);
diff --git a/common/spio.c b/common/spio.c
index d0efe05..5ee58ee 100644
--- a/common/spio.c
+++ b/common/spio.c
@@ -164,7 +164,7 @@ int spio_connect(spctx_t* ctx, spio_t* io, const struct sockaddr_any* sany,
if(setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &(g_state.timeout), sizeof(g_state.timeout)) == -1 ||
setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &(g_state.timeout), sizeof(g_state.timeout)) == -1)
- sp_messagex(ctx, LOG_WARNING, "%s: couldn't set timeouts on connection", GET_IO_NAME(io));
+ sp_messagex(ctx, LOG_DEBUG, "%s: couldn't set timeouts on connection", GET_IO_NAME(io));
fcntl(fd, F_SETFD, fcntl(fd, F_GETFD, 0) | FD_CLOEXEC);