- bug fix

This commit is contained in:
zolliker
2009-02-17 07:53:46 +00:00
parent 9beff9cc4c
commit 1c765e50fd

View File

@ -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;