From 66a9f8d13a53aed8f7d9b81033faa1774127705e Mon Sep 17 00:00:00 2001 From: default Date: Tue, 4 Oct 2022 10:06:38 +0200 Subject: [PATCH] Fixed typo in initdb(). --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 89390dd..f97a198 100644 --- a/utils.c +++ b/utils.c @@ -111,7 +111,7 @@ int initdb(const char *basedir) xs *i = xs_strip(xs_readline(stdin)); if (*i) { xs *n = xs_number_new(atoi(i)); - srv_config = xs_dict_set(srv_config, "port", i); + srv_config = xs_dict_set(srv_config, "port", n); } }