summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--4/11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/4/11.c b/4/11.c
index 301751c..bad3f0f 100644
--- a/4/11.c
+++ b/4/11.c
@@ -130,6 +130,7 @@ int getop(char s[]) {
if (pc != ' ' && pc != '\t') {
s[0] = c = pc;
+ s[1] = 0;
pc = ' ';
} else {
while ((s[0] = c = getch()) == ' ' || c == '\t')