Skip to content
Permalink
Browse files

CRemoteCalls: make callRemote return 0 as errno upon success (#295)

  • Loading branch information...
patrikjuvonen authored and qaisjp committed Sep 2, 2019
1 parent b9d509a commit a914a5846511cd3b674a140c95eb0563c848cb5c
Showing with 1 addition and 3 deletions.
  1. +1 −3 Server/mods/deathmatch/logic/CRemoteCalls.cpp
@@ -243,12 +243,10 @@ 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 a914a58

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