mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Fixed warning.
This commit is contained in:
parent
c9c9b0bfdc
commit
8fd070bb9a
2
data.c
2
data.c
@ -114,7 +114,7 @@ int srv_open(const char *basedir, int auto_upgrade)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
char *v = xs_dict_get(srv_config, "disable_openbsd_security");
|
const char *v = xs_dict_get(srv_config, "disable_openbsd_security");
|
||||||
|
|
||||||
if (v && xs_type(v) == XSTYPE_TRUE) {
|
if (v && xs_type(v) == XSTYPE_TRUE) {
|
||||||
srv_debug(1, xs_dup("OpenBSD security disabled by admin"));
|
srv_debug(1, xs_dup("OpenBSD security disabled by admin"));
|
||||||
|
Loading…
Reference in New Issue
Block a user