diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-07-19 07:14:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-07-19 07:14:51 +0000 |
commit | f9dcbd059a3e9c4a6b5694319a113ff6d74fb836 (patch) | |
tree | b78d9d15a53fd0259e9c5dea9eac593a52915b37 /syslogd.c | |
parent | e9303cb9870a759b5f9f74e6fbea21b564306d73 (diff) | |
download | rsyslog-f9dcbd059a3e9c4a6b5694319a113ff6d74fb836.tar.gz rsyslog-f9dcbd059a3e9c4a6b5694319a113ff6d74fb836.tar.xz rsyslog-f9dcbd059a3e9c4a6b5694319a113ff6d74fb836.zip |
fixed a small bug that caused compilation to fail on debianv0-9-3
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; } |