X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0f40a5daeee669d12c789e4ffb0c537358c17fab..d7a542f962802ad207d823b7e805c9135c1693e3:/projects/stargazer/main.cpp diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 64d1cda2..cdaee3b0 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -35,6 +35,7 @@ #include <csignal> #include <cerrno> #include <cstdio> +#include <cstdlib> // srandom, exit #include <fstream> #include <vector> #include <set> @@ -346,12 +347,12 @@ switch (executerPid) case 0: delete settings; - Executer(msgKey, *msgID, executerPid, procName); + Executer(*msgID, executerPid, procName); return 1; default: if (executersPid.empty()) { - Executer(msgKey, *msgID, executerPid, NULL); + Executer(*msgID, executerPid, NULL); } executersPid.insert(executerPid); }