diff --git a/cv6/main.c b/cv6/main.c index 63fe14f..b8ba8d5 100644 --- a/cv6/main.c +++ b/cv6/main.c @@ -40,7 +40,7 @@ void test_station(struct station* station){ if(r == NULL){ if(feof(fp) != 0){ - printf("End of file\n"); + //printf("End of file\n"); break; } else{ @@ -57,8 +57,8 @@ void test_station(struct station* station){ } } - -} + fclose(fp); +} int main(){