Commit 1a8279af 1a8279af0d705aa7121805613fcba9963fb1b4ec by Sergey Poznyakoff

Minor fix.

* mh/prompter.c (main): Append terminating \0 to the opool.
1 parent 820568fb
......@@ -248,6 +248,7 @@ main (int argc, char **argv)
}
while (cont);
mu_opool_append_char (opool, 0);
newval = mu_opool_finish (opool, NULL);
if (!is_empty_string (newval))
mu_stream_printf (tmp, "%s: %s\n", name, newval);
......