aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/server_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/server_main.c')
-rw-r--r--src/server_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server_main.c b/src/server_main.c
index cdd73b3..332ae17 100644
--- a/src/server_main.c
+++ b/src/server_main.c
@@ -13,7 +13,7 @@
static struct settings default_settings()
{
- struct settings settings = {DEFAULT_PORT, NULL};
+ struct settings settings = {DEFAULT_PORT, DEFAULT_SQLITE_PATH};
return settings;
}
@@ -56,11 +56,6 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
}
}
- if (!settings->sqlite_path) {
- exit_with_usage_err("must specify the path to a SQLite database");
- return -1;
- }
-
return 0;
}