From f9dcbd059a3e9c4a6b5694319a113ff6d74fb836 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 19 Jul 2005 07:14:51 +0000 Subject: fixed a small bug that caused compilation to fail on debian --- syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslogd.c b/syslogd.c index 5177efbb..b837b9f7 100644 --- a/syslogd.c +++ b/syslogd.c @@ -4882,8 +4882,8 @@ void cfline(line, f) for(q = p ; *p && *p != ';' && *p != ':' ; ++p) /* JUST SKIP */; if(*p == ':') { /* process port */ - *p = '\0'; /* trick to obtain hostname (later)! */ register int i = 0; + *p = '\0'; /* trick to obtain hostname (later)! */ for(++p ; *p && isdigit(*p) ; ++p) { i = i * 10 + *p - '0'; } -- cgit