]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Fix fild types in services and corporations
[stg.git] / projects / stargazer / main.cpp
index 64d1cda28289ed7a8e3ab74003332e6dff75fcb9..cdaee3b0cb61b3ea54e90c0878cfdfbf4635518c 100644 (file)
@@ -35,6 +35,7 @@
 #include <csignal>
 #include <cerrno>
 #include <cstdio>
 #include <csignal>
 #include <cerrno>
 #include <cstdio>
+#include <cstdlib> // srandom, exit
 #include <fstream>
 #include <vector>
 #include <set>
 #include <fstream>
 #include <vector>
 #include <set>
@@ -346,12 +347,12 @@ switch (executerPid)
 
     case 0:
         delete settings;
 
     case 0:
         delete settings;
-        Executer(msgKey, *msgID, executerPid, procName);
+        Executer(*msgID, executerPid, procName);
         return 1;
 
     default:
         if (executersPid.empty()) {
         return 1;
 
     default:
         if (executersPid.empty()) {
-            Executer(msgKey, *msgID, executerPid, NULL);
+            Executer(*msgID, executerPid, NULL);
         }
         executersPid.insert(executerPid);
     }
         }
         executersPid.insert(executerPid);
     }