commit | 400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Feb 24 13:36:01 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Feb 24 13:36:01 2008 +0000 |
tree | aa3cdc9a663f1ac2467803fc215899d86ed1db74 | |
parent | d553faf5a53cf9d72e16fc789451a92a797f1b70 [diff] [blame] |
less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1) *: minor shrink
diff --git a/miscutils/rx.c b/miscutils/rx.c index 898703c..8ccea49 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c
@@ -43,7 +43,7 @@ #define TIMEOUT_LONG 10 #define MAXERRORS 10 -static int read_byte(int fd, unsigned int timeout) +static int read_byte(int fd, unsigned timeout) { char buf[1]; int n;