diff --git a/checkin_notes b/checkin_notes index 0f9d38687e..7cf00614ab 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9033,3 +9033,15 @@ David 10 Nov 2009 lib/ coproc.cpp + +David 10 Nov 2009 + - client: the handling of GUI RPCs was inconsistent; + some expected , some expected , + and some would accept either. + Changed them all to accept either. + + NOTE: this means no request can be a substring of another + + client/ + gui_rpc_server_ops.cpp + diff --git a/client/gui_rpc_server_ops.cpp b/client/gui_rpc_server_ops.cpp index ce6428cc7c..b02e9b0e92 100644 --- a/client/gui_rpc_server_ops.cpp +++ b/client/gui_rpc_server_ops.cpp @@ -1144,11 +1144,11 @@ int GUI_RPC_CONN::handle_rpc() { handle_get_host_info(request_msg, mf); } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "\n"); gstate.read_global_prefs(); gstate.request_schedule_cpus("Preferences override"); @@ -1216,7 +1216,7 @@ int GUI_RPC_CONN::handle_rpc() { handle_get_cc_config(mf); } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "\n"); read_config_file(false); msg_printf(0, MSG_INFO, "Re-read config file"); @@ -1243,23 +1243,23 @@ int GUI_RPC_CONN::handle_rpc() { handle_project_op(request_msg, mf, "reset"); } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "")) { + } else if (match_tag(request_msg, "