From 0884b3cf4695e693cca54945bfd257b7eec89134 Mon Sep 17 00:00:00 2001 From: sara Date: Tue, 6 Feb 2018 23:04:21 -0500 Subject: [PATCH] bug fixing --- Asst1/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asst1/util.c b/Asst1/util.c index 98376fb..5a35021 100644 --- a/Asst1/util.c +++ b/Asst1/util.c @@ -80,7 +80,7 @@ threadQ * get_next_executable(int * curr) *curr += 1; } - if (*curr == LEVELS - 1) + if (*curr == LEVELS) { return NULL; }