Skip to content
Permalink
Browse files

Revert "CRemoteCalls: make callRemote return 0 as errno upon success (#…

…295)"

This reverts commit a914a58.
  • Loading branch information...
qaisjp committed Sep 2, 2019
1 parent e5ede83 commit 25ffe62b1c71063e6f8d641bf3f532b30999779c
Showing with 3 additions and 1 deletion.
  1. +3 −1 Server/mods/deathmatch/logic/CRemoteCalls.cpp
@@ -243,10 +243,12 @@ void CRemoteCall::DownloadFinishedCallback(const SHttpDownloadResult& result)
if (result.bSuccess)
{
if (pCall->IsFetch())
{
arguments.PushString(std::string(result.pData, result.dataSize));
arguments.PushNumber(0);
}
else
arguments.ReadFromJSONString(result.pData);
arguments.PushNumber(0);
}
else
{

0 comments on commit 25ffe62

Please sign in to comment.
You can’t perform that action at this time.