diff options
-rw-r--r-- | executor.cpp | 2 | ||||
-rw-r--r-- | jconf.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/executor.cpp b/executor.cpp index af10811..8f5a2a9 100644 --- a/executor.cpp +++ b/executor.cpp @@ -83,7 +83,7 @@ void executor::ex_clock_thd() ev = lTimedEvents.erase(ev); } else - ev++; + ++ev; } lck.unlock(); @@ -316,6 +316,7 @@ bool jconf::parse_config(const char* sFilename) if(flen <= 16) { + fclose(pFile); printer::inst()->print_msg(L0, "File is empty or too short - %s.", sFilename); return false; } |