1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Return NULL in case of unset program_config_file

This commit is contained in:
Moritz Grimm 2015-05-12 17:33:08 +02:00
parent f7bc34e8f2
commit 1115ab16db

View File

@ -545,7 +545,7 @@ cfg_get_program_config_type(void)
const char *
cfg_get_program_config_file(void)
{
return (cfg.program.config_file);
return (cfg.program.config_file[0] ? cfg.program.config_file : NULL);
}
int