1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Typo SROUCE_HIDDEN -> SOURCE_HIDDEN

Thanks to Jordan Erickson for finding this.
This commit is contained in:
Philipp Schafft 2023-08-01 23:53:57 +00:00
parent 70067b12be
commit 7f6abb6ca8

View File

@ -182,7 +182,8 @@ static inline void __setup_environ(ice_config_t *config, event_exec_t *self, eve
if (source) {
__update_environ("SOURCE_MOUNTPOINT", source->mount);
__update_environ("SOURCE_PUBLIC", source->yp_public ? "true" : "false");
__update_environ("SROUCE_HIDDEN", source->hidden ? "true" : "false");
__update_environ("SOURCE_HIDDEN", source->hidden ? "true" : "false");
__update_environ("SROUCE_HIDDEN", source->hidden ? "true" : "false"); /* Typo, kept for compatibility */
}
avl_tree_unlock(global.source_tree);
}