damn. Always do make depend. Forgot to recompile main because of it,
so the changes for the struct cis -> struct tuple_list didn't get made. They have been now.
This commit is contained in:
parent
6b88fc62e1
commit
2d875dc571
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185125
@ -34,17 +34,17 @@ static void
|
||||
scanfile(char *name)
|
||||
{
|
||||
int fd;
|
||||
struct cis *cp;
|
||||
struct tuple_list *tl;
|
||||
|
||||
fd = open(name, O_RDONLY);
|
||||
if (fd < 0)
|
||||
return;
|
||||
cp = readcis(fd);
|
||||
if (cp) {
|
||||
tl = readcis(fd);
|
||||
if (tl) {
|
||||
printf("Configuration data for file %s\n",
|
||||
name);
|
||||
dumpcis(cp);
|
||||
freecis(cp);
|
||||
dumpcis(tl);
|
||||
freecis(tl);
|
||||
}
|
||||
close(fd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user