From 37097b33a4f0dbbf8d3b48d37416e6bec8b6b79e Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 1 Jan 2000 01:18:14 +0900 Subject: reduce duplicate prompts in multi-line handling --- parser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parser.c b/parser.c index 1c3adde..684a46c 100644 --- a/parser.c +++ b/parser.c @@ -1123,15 +1123,15 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer /* re-run error_check to update min/max values based on actual settings, not proposed settings */ Error_check(globals.ChannelState); - // trigger a prompt - if (interactive_terminal) { - (*cbfunc)(user_data, ""); - } - g_free (in); } g_strfreev (v); + // trigger a prompt + if (interactive_terminal) { + (*cbfunc)(user_data, ""); + } + g_static_mutex_unlock (&mutex); } -- cgit