]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users_impl.cpp
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / users_impl.cpp
index 18d1abaf163dd4758d3113fa068c7d0fd723326a..e973d2cd7192197a7744e3ba5a06c9135a5b30a2 100644 (file)
@@ -419,7 +419,7 @@ while (us->nonstop)
         {
         //printfd(__FILE__, "Monitor=%d file TRAFFCOUNTER %s\n", tc->monitoring, monFile.c_str());
         touchTime = stgTime;
-        TouchFile(monFile.c_str());
+        TouchFile(monFile);
         }
 
     stgUsleep(100000);