summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5abe911)
raw | patch | inline | side by side (parent: 5abe911)
author | Gerrie Roos <groos@xiplink.com> | |
Tue, 17 Apr 2012 13:22:36 +0000 (15:22 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 11 Sep 2012 07:06:37 +0000 (09:06 +0200) |
Signed-off-by: Florian Forster <octo@collectd.org>
src/unixsock.c | patch | blob | history |
diff --git a/src/unixsock.c b/src/unixsock.c
index 344424715e6e0cc23c938c38a17b280686a19168..35c77121eb5c792d8f97787cb6503b9f753cf3d5 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
errno = 0;
if (fgets (buffer, sizeof (buffer), fhin) == NULL)
{
+ if ((errno == EINTR) || (errno == EAGAIN))
+ continue;
+
if (errno != 0)
{
char errbuf[1024];