diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,10 @@ int main(int argc, char **argv) { if (argc == 1) exit(1); char *filename = argv[1]; - xdb_init(filename); + if (xdb_init(filename)) + exit(1); + // TODO: make decoder be able to decode empty tags + xdb_stmt("<get><all>true</all></get>"); + xdb_close(); exit(0); } |