X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5cf7604389d8846f9c1c21dbb6915f7639659c4c..daded9039931526b36f5794ae7ea4f8536ccbec6:/projects/stargazer/traffcounter_impl.cpp?ds=inline diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index f410b109..3f6eb0c0 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -29,6 +29,7 @@ */ /* inet_aton */ +#include #include #include #include @@ -37,9 +38,9 @@ #include #include // fopen and similar +#include "stg/common.h" +#include "stg/locker.h" #include "traffcounter_impl.h" -#include "common.h" -#include "stg_locker.h" #include "stg_timer.h" #define FLUSH_TIME (10) @@ -938,7 +939,7 @@ return; //----------------------------------------------------------------------------- void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir) { -TRAFFCOUNTER::monitorDir = monitorDir; +TRAFFCOUNTER_IMPL::monitorDir = monitorDir; monitoring = (monitorDir != ""); } //-----------------------------------------------------------------------------