commit | bde361064ae41d35b10ee44abf38ce867c858725 | [log] [tgz] |
---|---|---|
author | Holger Freyther <zecke@selfish.org> | Sun Dec 28 22:51:39 2008 +0000 |
committer | Holger Freyther <zecke@selfish.org> | Sun Dec 28 22:51:39 2008 +0000 |
tree | 31d48d9965668e618d9ad3cd99f97f82d8ff0282 | |
parent | aa0fb362c0d44d43320e15529e84920bf2d38771 [diff] [blame] |
make it optional where the hlr database is stored Add --database to define where the database is stored. The default was changed to not store the file in /tmp anymore.
diff --git a/src/db_test.c b/src/db_test.c index 0367ce2..760d7ab 100644 --- a/src/db_test.c +++ b/src/db_test.c
@@ -25,7 +25,7 @@ int main() { - if (db_init()) { + if (db_init("hlr.sqlite3")) { printf("DB: Failed to init database. Please check the option settings.\n"); return 1; }