diff --git a/checkin_notes b/checkin_notes index 98b612f36b..977dab0c24 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1587,3 +1587,11 @@ David 13 Feb 2009 lib/ prefs.cpp,h + +David 13 Feb 2009 + - GUI RPC: add master_url and local_revision to PROJECT_CONFIG struct. + The former will allow the Manager to verify project URLs + + lib/ + gui_rpc_client_ops.cpp + gui_rpc_client.h diff --git a/lib/gui_rpc_client.h b/lib/gui_rpc_client.h index 43d0c58c9e..9001218aa1 100644 --- a/lib/gui_rpc_client.h +++ b/lib/gui_rpc_client.h @@ -475,6 +475,8 @@ struct PROJECT_INIT_STATUS { struct PROJECT_CONFIG { int error_num; std::string name; + std::string master_url; + int local_revision; // SVN changeset# of server software int min_passwd_length; bool account_manager; bool uses_username; // true for WCG diff --git a/lib/gui_rpc_client_ops.cpp b/lib/gui_rpc_client_ops.cpp index ece4cd9605..72b338408b 100644 --- a/lib/gui_rpc_client_ops.cpp +++ b/lib/gui_rpc_client_ops.cpp @@ -900,6 +900,8 @@ int PROJECT_CONFIG::parse(MIOFILE& in) { if (match_tag(buf, "")) return 0; if (parse_int(buf, "", error_num)) continue; if (parse_str(buf, "", name)) continue; + if (parse_str(buf, "", master_url)) continue; + if (parse_int(buf, "", local_revision)) continue; if (parse_int(buf, "", min_passwd_length)) continue; if (parse_bool(buf, "account_manager", account_manager)) continue; if (parse_bool(buf, "uses_username", uses_username)) continue;