From 5738127bebb27244434b9fd5909eb65a50c59f30 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Fri, 19 Mar 2021 23:36:15 +0100 Subject: [PATCH] Merge pull request #4275 from chausner/fix_error_tags client: Fix invalid XML tags in handle_set_app_config --- client/gui_rpc_server_ops.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/gui_rpc_server_ops.cpp b/client/gui_rpc_server_ops.cpp index 049db60d246..246ed398837 100644 --- a/client/gui_rpc_server_ops.cpp +++ b/client/gui_rpc_server_ops.cpp @@ -1241,12 +1241,12 @@ static void handle_set_app_config(GUI_RPC_CONN& grc) { } } if (parse_retval) { - grc.mfout.printf("XML parse failed\n"); + grc.mfout.printf("XML parse failed\n"); return; } PROJECT* p = gstate.lookup_project(url.c_str()); if (!p) { - grc.mfout.printf("no such project\n"); + grc.mfout.printf("no such project\n"); return; } char path[MAXPATHLEN]; @@ -1256,7 +1256,7 @@ static void handle_set_app_config(GUI_RPC_CONN& grc) { msg_printf(p, MSG_INTERNAL_ERROR, "Can't open app config file %s", path ); - grc.mfout.printf("can't open app_config.xml file\n"); + grc.mfout.printf("can't open app_config.xml file\n"); return; }