- bug fix
This commit is contained in:
@ -383,6 +383,7 @@ static int LogReader(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
tm = *localtime(&from);
|
||||
pathLen = 0;
|
||||
for (idir = 0; idir < ndirs; idir++) {
|
||||
if (dirs[idir][0] != '\0') {
|
||||
pathLen = LoggerVarPath(dirs[idir], path, sizeof path, var, &tm);
|
||||
dr = opendir(path);
|
||||
if (dr) {
|
||||
@ -391,6 +392,7 @@ static int LogReader(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
isdst = -1;
|
||||
fil = NULL;
|
||||
|
Reference in New Issue
Block a user