diff options
author | Stef Walter <stef@memberwebs.com> | 2006-03-11 20:42:18 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-03-11 20:42:18 +0000 |
commit | 26d89e90d1a253c70b411289b0f049e38344c7f6 (patch) | |
tree | b358fc6a07df2f30e7e51371469ef12186cc153d /src | |
parent | cb091770076f9b92d8df5a7589505f6bf64341b9 (diff) |
Don't block on open.
Diffstat (limited to 'src')
-rw-r--r-- | src/bsnmp-regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsnmp-regex.c b/src/bsnmp-regex.c index cf06114..4792d77 100644 --- a/src/bsnmp-regex.c +++ b/src/bsnmp-regex.c @@ -477,7 +477,7 @@ open_fifo () return -1; } - fifo_fd = open (regex_fifo, O_RDONLY); + fifo_fd = open (regex_fifo, O_RDONLY | O_NONBLOCK); if (fifo_fd < 0) { emsg ("couldn't open fifo: %s: %s", regex_fifo, strerror (errno)); return -1; |