mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Fixed typo in initdb().
This commit is contained in:
parent
f795b843e4
commit
66a9f8d13a
1 changed files with 1 additions and 1 deletions
2
utils.c
2
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue