minor: server config fname size constst: binaries in

This commit is contained in:
2021-07-27 17:38:02 +02:00
parent adf690cdcd
commit 6461fddc5d
10 changed files with 12 additions and 8 deletions

View File

@ -530,8 +530,9 @@ int readConfigFile() {
usleep(INITIAL_STARTUP_WAIT);
char fname[128];
if (getAbsPath(fname, 128, CONFIG_FILE) == FAIL) {
const int fileNameSize = 128;
char fname[fileNameSize];
if (getAbsPath(fname, fileNameSize, CONFIG_FILE) == FAIL) {
return FAIL;
}