projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix stats of tests.
[apps/pfixtools.git]
/
common
/
tst-trie.c
diff --git
a/common/tst-trie.c
b/common/tst-trie.c
index
78977a8
..
9f69b1e
100644
(file)
--- a/
common/tst-trie.c
+++ b/
common/tst-trie.c
@@
-54,8
+54,7
@@
static trie_t *create_trie_from_file(const char *file)
--end;
}
if (end != map.end) {
--end;
}
if (end != map.end) {
- syslog(LOG_WARNING, "file %s miss a final \\n, ignoring last line",
- file);
+ warn("file %s miss a final \\n, ignoring last line", file);
}
db = trie_new();
}
db = trie_new();
@@
-129,7
+128,7
@@
int main(int argc, char *argv[])
*/
if (argc > 1) {
trie = create_trie_from_file(argv[1]);
*/
if (argc > 1) {
trie = create_trie_from_file(argv[1]);
- trie_inspect(trie,
tru
e);
+ trie_inspect(trie,
fals
e);
trie_delete(&trie);
}
return 0;
trie_delete(&trie);
}
return 0;