1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

Update: Added comments to make code easier to understand

This commit is contained in:
Philipp Schafft 2018-06-16 17:38:35 +00:00
parent 2b3f07e9b0
commit be0bf035c7

View File

@ -170,8 +170,10 @@ static int _parse_config_opts(int argc, char **argv, char *filename, size_t size
background = 0;
if (argc < 2) {
if (filename[0] != 0) {
/* We have a default filename, so we can work with no options. */
return 1;
} else {
/* We need at least a config filename. */
return -1;
}
}