mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Corrected logic to delete NULL-values
This commit is contained in:
parent
c2f25a9108
commit
79af8d13e2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user