1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-07 13:26:33 +00:00

recvmsg() fails after connect error: log as Info not Warn

This commit is contained in:
Gerhard Rieger 2023-01-04 00:54:33 +01:00
parent 30ace16174
commit d95d62dbfb
2 changed files with 6 additions and 1 deletions

View file

@ -1577,7 +1577,7 @@ int xiogetpacketsrc(int fd, struct msghdr *msgh, int flags) {
msgh->msg_flags = 0;
#endif
if (Recvmsg(fd, msgh, flags) < 0) {
Warn1("recvmsg(): %s", strerror(errno));
Info1("recvmsg(): %s", strerror(errno));
return STAT_RETRYLATER;
}
return STAT_OK;