Provide our own isdigit macro. saves more than 400 bytes.

This commit is contained in:
Denis Vlasenko committed 2006-11-27 14:44:18 +00:00
1 parent d686a045c8
commit 459903bd4e
5 files changed
+13 -11

No files matched your search

+1 -1
View File
@@ -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)) {