From 070f69d49976c89742d6a60aa81a2901473afc32 Mon Sep 17 00:00:00 2001 From: Roman Schenk Date: Wed, 6 Apr 2022 21:44:03 +0200 Subject: [PATCH] Update 'P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c' --- .../work/personen-verwaltung/src/read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c b/P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c index 2b998bd..919e5c3 100644 --- a/P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c +++ b/P06_Personen_Verwaltung_Linked_List/work/personen-verwaltung/src/read.c @@ -18,6 +18,7 @@ int getInt(int maxResult) { char buffer[BUFFERSIZE] = {0}; int result = 0; + // read line: up to EOL or EOF (i.e. error while reading) int bytes = 0; int input = getchar();