mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
Refactor, simplify ... print() APIs already check if silent
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
bd54cf6dee
commit
e9d5512e1a
4 files changed
+22
-52
No files matched your search
+1
-2
@@ -450,8 +450,7 @@ static int parse_conf(char *file)
|
||||
strcat(line, " ");
|
||||
}
|
||||
|
||||
if (!silent)
|
||||
print(0, "Loading %sconfiguration", line);
|
||||
print(0, "Loading %sconfiguration", line);
|
||||
|
||||
_d("Parsing %s", file);
|
||||
while (!feof(fp)) {
|
||||
|
||||
Reference in new issue
Block a user