From 938fad105d686f3bf94ac594806a491a66ff4a55 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 2 Feb 2017 02:20:35 -0800 Subject: [PATCH] client: finish last commit --- client/acct_mgr.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/acct_mgr.cpp b/client/acct_mgr.cpp index 33722e1657..6eb539afc5 100644 --- a/client/acct_mgr.cpp +++ b/client/acct_mgr.cpp @@ -92,22 +92,6 @@ int ACCT_MGR_OP::do_rpc( return 0; } - // if we're not currently attached to an AM, - // see if the AM login file is present for this URL, - // and parse it to get opaque data - // - if (!strlen(gstate.acct_mgr_info.master_url)) { - char filename[MAXPATHLEN]; - am_login_filename(ami.master_url, filename); - FILE* f = fopen(filename, "r"); - if (f) { - ACCT_MGR_INFO ami2; - ami2.parse_login_file(f); - fclose(f); - strcpy(gstate.acct_mgr_info.opaque, ami2.opaque); - } - } - strlcpy(ami.master_url, url, sizeof(ami.master_url)); strlcpy(ami.project_name, "", sizeof(ami.project_name)); strlcpy(ami.login_name, name.c_str(), sizeof(ami.login_name));