summaryrefslogtreecommitdiff
path: root/src/medsrv/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/medsrv/main.c')
-rw-r--r--src/medsrv/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/medsrv/main.c b/src/medsrv/main.c
index 00975e93a..1f7b675bb 100644
--- a/src/medsrv/main.c
+++ b/src/medsrv/main.c
@@ -41,7 +41,7 @@ int main(int arc, char *argv[])
socket = lib->settings->get_str(lib->settings, "medsrv.socket", NULL);
debug = lib->settings->get_bool(lib->settings, "medsrv.debug", FALSE);
- timeout = lib->settings->get_int(lib->settings, "medsrv.timeout", 900);
+ timeout = lib->settings->get_time(lib->settings, "medsrv.timeout", 900);
threads = lib->settings->get_int(lib->settings, "medsrv.threads", 5);
uri = lib->settings->get_str(lib->settings, "medsrv.database", NULL);
if (uri == NULL)