From: Lyndon Nerenberg Date: Thu, 10 Apr 2014 11:00:18 +0000 (-0700) Subject: I missed one spot in getln() where the new quoting flag needs to be cleared. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/93fc71c182929daf326a9e8d9974ece3817c99c4?ds=inline;hp=d2afe7d6749bc73f88e1fea993de2e0dbb5b3565 I missed one spot in getln() where the new quoting flag needs to be cleared. --- diff --git a/uip/prompter.c b/uip/prompter.c index b43d0c74..304c9a5d 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -358,6 +358,7 @@ getln (char *buffer, int n) case '\n': if (quoting) { *(cp - 1) = c; + quoting = 0; wtuser = 0; return 1; }