Skip to content

Commit bbe9c2d

Browse files
authored
Merge pull request #99 from pattop/master
fix local hostname '+@', '-@' support
2 parents 8e230d3 + 13c8071 commit bbe9c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/syslogd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3895,7 +3895,7 @@ static int cfparse(FILE *fp, struct files *newf)
38953895
char *local = LocalHostName;
38963896

38973897
while (i < sizeof(host) - 1 && *local)
3898-
host[i++] = *local;
3898+
host[i++] = *local++;
38993899
p++;
39003900
} else if (!isprint(*p) || isblank(*p))
39013901
break;

0 commit comments

Comments
 (0)