]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp
Report about headers reading error
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / stgconfig.cpp
index 1f2a3c7c3243f9846e10fcc7afff5d823f0b8560..19d68f98da37c4a446f52dc7c1d599ba323ff325 100644 (file)
@@ -1,7 +1,6 @@
-#include <stdio.h>
 #include <unistd.h>
-#include <signal.h>
 
+#include <csignal>
 #include <algorithm>
 
 #include "stg/tariffs.h"
@@ -143,7 +142,7 @@ void * STG_CONFIG::Run(void * d)
 STG_CONFIG * stgConf = (STG_CONFIG *)d;
 stgConf->isRunning = true;
 
-stgConf->config.Run(&stgConf->config);
+stgConf->config.Run();
 
 stgConf->isRunning = false;
 return NULL;