File 0001-imuxsock-do-not-log-EAGAIN-in-nonblocking-recvfrom.patch of Package rsyslog.1232

From caaa4820b076b225ab43fb7b3051947d232d29ad Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.de>
Date: Tue, 13 Nov 2012 11:26:39 +0100
References: bnc#734672
Upstream: merged
Url: http://git.adiscon.com/?p=rsyslog.git;a=commit;h=a378fa8d6525d96c66331b2ad445f8ccfb4fe9f5
Subject: [PATCH] imuxsock: do not log EAGAIN in nonblocking recvfrom

---
 plugins/imuxsock/imuxsock.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index cbb09b6..7520554 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -863,7 +863,7 @@ static rsRetVal readSocket(lstn_t *pLstn)
 			}
 		}
 		CHKiRet(SubmitMsg(pRcv, iRcvd, pLstn, cred, ts));
-	} else if(iRcvd < 0 && errno != EINTR) {
+	} else if(iRcvd < 0 && errno != EINTR && errno != EAGAIN) {
 		char errStr[1024];
 		rs_strerror_r(errno, errStr, sizeof(errStr));
 		dbgprintf("UNIX socket error: %d = %s.\n", errno, errStr);
-- 
1.7.10.4

openSUSE Build Service is sponsored by