From d873b20573372fa32ae9361a81defa930609fdeb Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Thu, 14 Aug 2014 12:24:51 -0500 Subject: [PATCH] Fix typo related to invalid regex handle errors. --- extensions/regex/extension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/regex/extension.cpp b/extensions/regex/extension.cpp index 5f7b6f17..7265a056 100644 --- a/extensions/regex/extension.cpp +++ b/extensions/regex/extension.cpp @@ -106,7 +106,7 @@ static cell_t MatchRegex(IPluginContext *pCtx, const cell_t *params) if ((err=g_pHandleSys->ReadHandle(hndl, g_RegexHandle, &sec, (void **)&x)) != HandleError_None) { - return pCtx->ThrowNativeError("Invalid file handle %x (error %d)", hndl, err); + return pCtx->ThrowNativeError("Invalid regex handle %x (error %d)", hndl, err); } if (!x) @@ -159,7 +159,7 @@ static cell_t GetRegexSubString(IPluginContext *pCtx, const cell_t *params) if ((err=g_pHandleSys->ReadHandle(hndl, g_RegexHandle, &sec, (void **)&x)) != HandleError_None) { - return pCtx->ThrowNativeError("Invalid file handle %x (error %d)", hndl, err); + return pCtx->ThrowNativeError("Invalid regex handle %x (error %d)", hndl, err); } if (!x)