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:
parent
2b3f07e9b0
commit
be0bf035c7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user