Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
Fuck, that's bass-ackwards
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Jun 18, 2018
1 parent 7049399 commit c30a84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BSQL/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ extern "C" {
return "Operation identifier does not exist!";
if (!operation->IsComplete(true))
return "Operation is not complete!";
returnValueHolder = code ? operation->GetError() : operation->GetErrorCode();
returnValueHolder = code ? operation->GetErrorCode() : operation->GetError();
return returnValueHolder.c_str();
}
catch (std::bad_alloc&) {
Expand Down

0 comments on commit c30a84c

Please sign in to comment.