#include <csignal>
#include <cassert>
+#include <cstdio> // Functions fopen and similar
#include "traffcounter.h"
#include "common.h"
if (r != 3)
{
WriteServLog("Error in file %s. There must be 3 parameters. Line %d.", rulesFileName.c_str(), lineNumber);
+ fclose(f);
return true;
}
{
WriteServLog("Error in file %s. Line %d.",
rulesFileName.c_str(), lineNumber);
+ fclose(f);
return true;
}
{
WriteServLog("Error in file %s. Error in adress. Line %d.",
rulesFileName.c_str(), lineNumber);
+ fclose(f);
return true;
}
if (!test)