mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 18:38:37 +00:00
Minor error message corrections
This commit is contained in:
parent
9673899dce
commit
351f564292
@ -499,7 +499,7 @@ static cell_t HTTP_GetBodyContent(IPluginContext *pCtx, const cell_t *params)
|
|||||||
|
|
||||||
if (!dldr)
|
if (!dldr)
|
||||||
{
|
{
|
||||||
return pCtx->ThrowNativeError("HTTP Downloader data not found\n");
|
return pCtx->ThrowNativeError("HTTP downloader data not found\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
char *body;
|
char *body;
|
||||||
@ -541,7 +541,7 @@ static cell_t HTTP_SetFailOnHTTPError(IPluginContext *pCtx, const cell_t *params
|
|||||||
|
|
||||||
if (!xfer)
|
if (!xfer)
|
||||||
{
|
{
|
||||||
return pCtx->ThrowNativeError("HTTP Session data not found\n");
|
return pCtx->ThrowNativeError("HTTP session data not found\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
return xfer->SetFailOnHTTPError(static_cast<bool>(params[2]));
|
return xfer->SetFailOnHTTPError(static_cast<bool>(params[2]));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user