Skip to content

Commit

Permalink
Merge pull request #4275 from chausner/fix_error_tags
Browse files Browse the repository at this point in the history
client: Fix invalid XML tags in handle_set_app_config
  • Loading branch information
AenBleidd authored and Charlie Fenton committed Jun 2, 2021
1 parent f70b56a commit 5738127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/gui_rpc_server_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1241,12 +1241,12 @@ static void handle_set_app_config(GUI_RPC_CONN& grc) {
}
}
if (parse_retval) {
grc.mfout.printf("<error>XML parse failed<error/>\n");
grc.mfout.printf("<error>XML parse failed</error>\n");
return;
}
PROJECT* p = gstate.lookup_project(url.c_str());
if (!p) {
grc.mfout.printf("<error>no such project<error/>\n");
grc.mfout.printf("<error>no such project</error>\n");
return;
}
char path[MAXPATHLEN];
Expand All @@ -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("<error>can't open app_config.xml file<error/>\n");
grc.mfout.printf("<error>can't open app_config.xml file</error>\n");
return;

}
Expand Down

0 comments on commit 5738127

Please sign in to comment.