summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-27 14:44:18 +0000
committerDenis Vlasenko2006-11-27 14:44:18 +0000
commit459903bd4e270ab4884ba9577516f9b2753898b0 (patch)
tree8dd4e8a4db28561fad1dcaeabee936a3aad7187c /sysklogd
parentd686a045c8134d3a42fa5cc6b2e09118e08d603f (diff)
downloadbusybox-459903bd4e270ab4884ba9577516f9b2753898b0.zip
busybox-459903bd4e270ab4884ba9577516f9b2753898b0.tar.gz
Provide our own isdigit macro. saves more than 400 bytes.
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 9e030bd..453cbda 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)) {