summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 07:10:40 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commitb94748da3c309e40517cef81a65cd1e51971f14f (patch)
tree8a167c109976179cbe6cfd5fd50f47ae7f6f42bf
parente28e52c09c8aedfdce4d0673f84382a3ee44f63b (diff)
downloadhercules-b94748da3c309e40517cef81a65cd1e51971f14f.tar.gz
hercules-b94748da3c309e40517cef81a65cd1e51971f14f.tar.bz2
hercules-b94748da3c309e40517cef81a65cd1e51971f14f.tar.xz
hercules-b94748da3c309e40517cef81a65cd1e51971f14f.zip
Added missing strlib->jstrescapecpy initialization
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/common/strlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 4b69477dd..35e0c63b0 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -1130,6 +1130,7 @@ void strlib_defaults(void) {
sv = &sv_s;
/* link~u! */
strlib->jstrescape = jstrescape;
+ strlib->jstrescapecpy = jstrescapecpy;
strlib->jmemescapecpy = jmemescapecpy;
strlib->remove_control_chars = remove_control_chars;
strlib->trim = trim;