Skip to content

Commit

Permalink
bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
sara committed Feb 7, 2018
1 parent a311b96 commit 0884b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Asst1/util.c
Expand Up @@ -80,7 +80,7 @@ threadQ * get_next_executable(int * curr)
*curr += 1;
}

if (*curr == LEVELS - 1)
if (*curr == LEVELS)
{
return NULL;
}
Expand Down

0 comments on commit 0884b3c

Please sign in to comment.