Commit fe4bfde5 fe4bfde50d3333e5d7778a424c5e611411fabfe0 by Sergey Poznyakoff

Bugfix

* libmailutils/stream/xscript-stream.c (print_transcript): Print
closing double-quote after user name in LOGIN statement.
1 parent 992d4fb9
...@@ -137,8 +137,10 @@ print_transcript (struct _mu_xscript_stream *str, int flag, ...@@ -137,8 +137,10 @@ print_transcript (struct _mu_xscript_stream *str, int flag,
137 if (buf[i] == '"') 137 if (buf[i] == '"')
138 { 138 {
139 for (i++; i < len && buf[i] != '"'; i++) 139 for (i++; i < len && buf[i] != '"'; i++)
140 if (buf[i] == '\'') 140 if (buf[i] == '\\')
141 i++; 141 i++;
142 if (i < len && buf[i] == '"')
143 i++;
142 } 144 }
143 else 145 else
144 { 146 {
......