summaryrefslogtreecommitdiffstats
path: root/4/9.c
diff options
context:
space:
mode:
Diffstat (limited to '4/9.c')
-rw-r--r--4/9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/4/9.c b/4/9.c
index 0a9fb26..2392b40 100644
--- a/4/9.c
+++ b/4/9.c
@@ -171,6 +171,7 @@ int getop(char s[]) {
;
s[1] = 0;
+ // solution to 4.9: exit program by returning EOF to main
if (c == EOF)
return EOF;