Fixed typo in initdb().

This commit is contained in:
default 2022-10-04 10:06:38 +02:00
parent f795b843e4
commit 66a9f8d13a

View file

@ -111,7 +111,7 @@ int initdb(const char *basedir)
xs *i = xs_strip(xs_readline(stdin)); xs *i = xs_strip(xs_readline(stdin));
if (*i) { if (*i) {
xs *n = xs_number_new(atoi(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);
} }
} }