summaryrefslogtreecommitdiff
path: root/pcre_printint.src
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-09-11 15:47:20 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-09-11 15:47:20 +0000
commit1b07da9c39c57afb2e3e69c537c056069f10675b (patch)
tree1b88f0d2adad60e1aa1560ce95e9eb70eee52890 /pcre_printint.src
parent612ff6d18b1d595e802b80e258507dc3b0344768 (diff)
downloadpcre-1b07da9c39c57afb2e3e69c537c056069f10675b.tar.gz
Refactoring to reduce the number of relocations in a shared library.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@240 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_printint.src')
-rw-r--r--pcre_printint.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_printint.src b/pcre_printint.src
index 90381ed..d51cbe0 100644
--- a/pcre_printint.src
+++ b/pcre_printint.src
@@ -126,7 +126,7 @@ for (i = _pcre_utt_size - 1; i >= 0; i--)
{
if (ptype == _pcre_utt[i].type && pvalue == _pcre_utt[i].value) break;
}
-return (i >= 0)? _pcre_utt[i].name : "??";
+return (i >= 0)? _pcre_utt_names + _pcre_utt[i].name_offset : "??";
#else
/* It gets harder and harder to shut off unwanted compiler warnings. */
ptype = ptype * pvalue;