diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 14:44:18 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 14:44:18 +0000 |
commit | 459903bd4e270ab4884ba9577516f9b2753898b0 (patch) | |
tree | 8dd4e8a4db28561fad1dcaeabee936a3aad7187c /sysklogd/syslogd.c | |
parent | d686a045c8134d3a42fa5cc6b2e09118e08d603f (diff) |
Provide our own isdigit macro. saves more than 400 bytes.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 9e030bd63..453cbda35 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -468,7 +468,7 @@ static int serveConnection(char *tmpbuf, int n_read) /* Parse the magic priority number. */ num_lt++; pri = 0; - while (isdigit(*(++p))) { + while (isdigit(*++p)) { pri = 10 * pri + (*p - '0'); } if (pri & ~(LOG_FACMASK | LOG_PRIMASK)) { |