aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 14:44:18 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-27 14:44:18 +0000
commitf9cc9081205c29917da34460395b6da2dc4c4567 (patch)
tree8dd4e8a4db28561fad1dcaeabee936a3aad7187c /sysklogd/syslogd.c
parent278809224505ecc8bbef7b9a86982bf35b46e719 (diff)
downloadbusybox-w32-f9cc9081205c29917da34460395b6da2dc4c4567.tar.gz
busybox-w32-f9cc9081205c29917da34460395b6da2dc4c4567.tar.bz2
busybox-w32-f9cc9081205c29917da34460395b6da2dc4c4567.zip
Provide our own isdigit macro. saves more than 400 bytes.
git-svn-id: svn://busybox.net/trunk/busybox@16685 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)) {