Minor error message corrections

This commit is contained in:
Nefarius 2014-06-04 19:17:58 +02:00 committed by Nicholas Hastings
parent 9673899dce
commit 351f564292

View File

@ -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]));