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

Cleanup: Replaced magic number with sizeof()

This commit is contained in:
Philipp Schafft 2018-06-16 17:29:51 +00:00
parent 8a69db3ab7
commit beb4523b84

View File

@ -499,7 +499,7 @@ int main(int argc, char **argv)
/* parse the '-c icecast.xml' option
** 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 !defined(_WIN32) || defined(_CONSOLE) || defined(__MINGW32__) || defined(__MINGW64__)
/* startup all the modules */