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
@ -34,17 +34,17 @@ static void
|
|||||||
scanfile(char *name)
|
scanfile(char *name)
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
struct cis *cp;
|
struct tuple_list *tl;
|
||||||
|
|
||||||
fd = open(name, O_RDONLY);
|
fd = open(name, O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return;
|
return;
|
||||||
cp = readcis(fd);
|
tl = readcis(fd);
|
||||||
if (cp) {
|
if (tl) {
|
||||||
printf("Configuration data for file %s\n",
|
printf("Configuration data for file %s\n",
|
||||||
name);
|
name);
|
||||||
dumpcis(cp);
|
dumpcis(tl);
|
||||||
freecis(cp);
|
freecis(tl);
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user