remove useless prints
Signed-off-by: Joseph Umana <joseph@josephumana.com>
This commit is contained in:
parent
d8d3d26f69
commit
9d9ee904ae
1 changed files with 0 additions and 2 deletions
2
main.c
2
main.c
|
@ -56,7 +56,6 @@ void execCommand(char* command) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void getExecStats(pid_t pid, RunResult* result) {
|
void getExecStats(pid_t pid, RunResult* result) {
|
||||||
puts("getExecStats");
|
|
||||||
struct rusage usage;
|
struct rusage usage;
|
||||||
time_t start = time(NULL);
|
time_t start = time(NULL);
|
||||||
|
|
||||||
|
@ -76,7 +75,6 @@ void getExecStats(pid_t pid, RunResult* result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void setExecFlags(RunResult* result, time_t runtimeSeconds, size_t memoryLimit) {
|
void setExecFlags(RunResult* result, time_t runtimeSeconds, size_t memoryLimit) {
|
||||||
printf("%d\n", result->exitCode);
|
|
||||||
if (result->exitCode == 69) {
|
if (result->exitCode == 69) {
|
||||||
result->flags |= Nice;
|
result->flags |= Nice;
|
||||||
strcpy(result->feedback, "Nice!");
|
strcpy(result->feedback, "Nice!");
|
||||||
|
|
Loading…
Add table
Reference in a new issue