From 66fd105d9919ce8b22f1a2b41b0a55c485f218a9 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Mon, 30 Nov 2020 14:17:02 +0100 Subject: [PATCH] main --- cv6/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(){