mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Cleanup: Replaced magic number with sizeof()
This commit is contained in:
parent
8a69db3ab7
commit
beb4523b84
@ -499,7 +499,7 @@ int main(int argc, char **argv)
|
|||||||
/* parse the '-c icecast.xml' option
|
/* parse the '-c icecast.xml' option
|
||||||
** only, so that we can read a configfile
|
** only, so that we can read a configfile
|
||||||
*/
|
*/
|
||||||
res = _parse_config_opts(argc, argv, filename, 512);
|
res = _parse_config_opts(argc, argv, filename, sizeof(filename));
|
||||||
if (res == 1) {
|
if (res == 1) {
|
||||||
#if !defined(_WIN32) || defined(_CONSOLE) || defined(__MINGW32__) || defined(__MINGW64__)
|
#if !defined(_WIN32) || defined(_CONSOLE) || defined(__MINGW32__) || defined(__MINGW64__)
|
||||||
/* startup all the modules */
|
/* startup all the modules */
|
||||||
|
Loading…
Reference in New Issue
Block a user