summaryrefslogtreecommitdiff
path: root/common/spio.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-05-05 18:35:53 +0000
committerStef Walter <stef@memberwebs.com>2005-05-05 18:35:53 +0000
commitd815a312840010dd87579a9a9f0a1a06be201264 (patch)
treeecb20a60d995c77d987976dc6691dbe5fe736c0a /common/spio.c
parent0270421d6f26646f402fef63ad7ceacb42ccfba9 (diff)
Make timeout warnings only show at debug level.
Diffstat (limited to 'common/spio.c')
-rw-r--r--common/spio.c2
1 files changed, 1 insertions, 1 deletions
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);