bantool: Close .conf files when done reading.

Not very many files are read, so leaving them open is not a major issue.
This commit is contained in:
Jilles Tjoelker 2014-02-23 22:10:34 +01:00
parent a6b29d3ed4
commit e3a3eb92a4

View file

@ -542,6 +542,8 @@ import_config(const char *conf, int id)
if(flag.verbose)
fprintf(stdout, "%*s\n", strlen(bandb_suffix[id]) > 0 ? 10 : 15, "imported.");
fclose(fd);
return;
}