mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
daemon-conf: make sure c->log_level < LEVEL_MAX
This commit is contained in:
parent
4f1380b713
commit
2c6abb8793
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ char *pa_daemon_conf_dump(pa_daemon_conf *c) {
|
|||
if (c->config_file)
|
||||
pa_strbuf_printf(s, _("### Read from configuration file: %s ###\n"), c->config_file);
|
||||
|
||||
pa_assert(c->log_level <= PA_LOG_LEVEL_MAX);
|
||||
pa_assert(c->log_level < PA_LOG_LEVEL_MAX);
|
||||
|
||||
pa_strbuf_printf(s, "daemonize = %s\n", pa_yes_no(c->daemonize));
|
||||
pa_strbuf_printf(s, "fail = %s\n", pa_yes_no(c->fail));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue