From 06bb1d031c36ba7ac0e8186a6e79fb799e728ede Mon Sep 17 00:00:00 2001 From: Benji Wiebe Date: Tue, 28 Apr 2015 14:17:47 -0500 Subject: [PATCH] Fixed error message in boinccmd --- lib/gui_rpc_client.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index a6c2a15a70..031c254d83 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -378,10 +378,13 @@ int RPC::parse_reply() { char buf[256], error_msg[256]; int n; while (fin.fgets(buf, 256)) { + if (strstr(buf, "boinc_gui_rpc_reply>")) + continue; if (strstr(buf, "", n)) { return n; } + if (strstr(buf, "")) return ERR_AUTHENTICATOR; if (parse_str(buf, "", error_msg, sizeof(error_msg))) { fprintf(stderr, "%s: GUI RPC error: %s\n", time_to_string(dtime()), error_msg