Skip to content

Commit

Permalink
Merge pull request #99 from pattop/master
Browse files Browse the repository at this point in the history
fix local hostname '+@', '-@' support
  • Loading branch information
troglobit authored Jan 23, 2025
2 parents 8e230d3 + 13c8071 commit bbe9c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syslogd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3895,7 +3895,7 @@ static int cfparse(FILE *fp, struct files *newf)
char *local = LocalHostName;

while (i < sizeof(host) - 1 && *local)
host[i++] = *local;
host[i++] = *local++;
p++;
} else if (!isprint(*p) || isblank(*p))
break;
Expand Down

0 comments on commit bbe9c2d

Please sign in to comment.