From ec99fcdf5dc3c35de049329fafaac0141a6ddaf3 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 1 Dec 2015 01:15:30 -0500 Subject: [PATCH] shouldn't return an error in whatever case this is --- src/client/Client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 5a8f050f3..983ec88c2 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -715,7 +715,9 @@ RequestStatus Client::ParseServerReturn(char *result, int status, bool json) json::String error = root["Error"]; lastError = std::string(error); if (lastError == "") - lastError = "Unspecified Error"; + { + return RequestOkay; + } return RequestFailure; } }