1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-05-18 00:58:26 -04:00

Fix: Corrected logic to delete NULL-values

This commit is contained in:
Philipp Schafft 2022-09-17 16:15:24 +00:00
parent c2f25a9108
commit 79af8d13e2

View File

@ -290,7 +290,7 @@ igloo_error_t string_renderer_add_kv_with_options(string_renderer_t *self,
if (!self)
return igloo_ERROR_FAULT;
if (!value && !allow_null_value && !self->allow_null_value) {
if (!value && !(allow_null_value && self->allow_null_value)) {
return igloo_ERROR_INVAL;
}