aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 14:44:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 14:44:18 +0000
commit459903bd4e270ab4884ba9577516f9b2753898b0 (patch)
tree8dd4e8a4db28561fad1dcaeabee936a3aad7187c /sysklogd/syslogd.c
parentd686a045c8134d3a42fa5cc6b2e09118e08d603f (diff)
downloadbusybox-w32-459903bd4e270ab4884ba9577516f9b2753898b0.tar.gz
busybox-w32-459903bd4e270ab4884ba9577516f9b2753898b0.tar.bz2
busybox-w32-459903bd4e270ab4884ba9577516f9b2753898b0.zip
Provide our own isdigit macro. saves more than 400 bytes.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c2
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)
468 /* Parse the magic priority number. */ 468 /* Parse the magic priority number. */
469 num_lt++; 469 num_lt++;
470 pri = 0; 470 pri = 0;
471 while (isdigit(*(++p))) { 471 while (isdigit(*++p)) {
472 pri = 10 * pri + (*p - '0'); 472 pri = 10 * pri + (*p - '0');
473 } 473 }
474 if (pri & ~(LOG_FACMASK | LOG_PRIMASK)) { 474 if (pri & ~(LOG_FACMASK | LOG_PRIMASK)) {