From: Chris Date: Fri, 6 Feb 2015 23:45:02 +0000 (+0100) Subject: Kleine verbetering doorgevoerd X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=0555b411efa55bf75f817673ca8f43b1fdb23a03;p=sws1-1415.git Kleine verbetering doorgevoerd --- diff --git a/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome b/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome index df21604..602189d 100755 Binary files a/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome and b/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome differ diff --git a/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome.c b/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome.c index e5c1411..13fc392 100644 --- a/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome.c +++ b/ass1/chris/sws1-s4109503-s4202015/exercise2/parsegenome.c @@ -45,6 +45,7 @@ int main(int argc, char *argv[]){ return -1; } } + fclose(file); if(amount_chars != 50000){ return -1; }