From 459903bd4e270ab4884ba9577516f9b2753898b0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 27 Nov 2006 14:44:18 +0000 Subject: Provide our own isdigit macro. saves more than 400 bytes. --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysklogd') 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)) { -- cgit v1.1