View | Details | Raw Unified | Return to bug 220884
Collapse All | Expand All

(-)usr.sbin/syslogd/syslogd.c (-2 / +3 lines)
Lines 1627-1633 Link Here
1627
	return (1);
1627
	return (1);
1628
}
1628
}
1629
1629
1630
static void
1630
static struct filed **
1631
readconfigfile(FILE *cf, struct filed **nextp, int allow_includes)
1631
readconfigfile(FILE *cf, struct filed **nextp, int allow_includes)
1632
{
1632
{
1633
	FILE *cf2;
1633
	FILE *cf2;
Lines 1688-1694 Link Here
1688
				if (cf2 == NULL)
1688
				if (cf2 == NULL)
1689
					continue;
1689
					continue;
1690
				dprintf("reading %s\n", file);
1690
				dprintf("reading %s\n", file);
1691
				readconfigfile(cf2, nextp, 0);
1691
				nextp = readconfigfile(cf2, nextp, 0);
1692
				fclose(cf2);
1692
				fclose(cf2);
1693
			}
1693
			}
1694
			free(ent);
1694
			free(ent);
Lines 1755-1760 Link Here
1755
		nextp = &f->f_next;
1755
		nextp = &f->f_next;
1756
		cfline(cline, f, prog, host);
1756
		cfline(cline, f, prog, host);
1757
	}
1757
	}
1758
	return nextp;
1758
}
1759
}
1759
1760
1760
/*
1761
/*

Return to bug 220884