Fixed warning.

This commit is contained in:
default 2024-05-22 14:14:29 +02:00
parent c9c9b0bfdc
commit 8fd070bb9a

2
data.c
View file

@ -114,7 +114,7 @@ int srv_open(const char *basedir, int auto_upgrade)
#endif
#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) {
srv_debug(1, xs_dup("OpenBSD security disabled by admin"));