From 5687f6975d8c18223f114d0d0f1246c505b6f101 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 15 Mar 2019 08:55:50 +0100 Subject: [PATCH] zstr fix --- src/php_ahocorasick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/php_ahocorasick.c b/src/php_ahocorasick.c index f825c4b..950d3b5 100644 --- a/src/php_ahocorasick.c +++ b/src/php_ahocorasick.c @@ -254,9 +254,9 @@ static inline int php_ahocorasick_process_pattern(zend_long pidx, ahocorasick_pa keyFound|=0x10; } else { php_error_docref(NULL TSRMLS_CC, E_WARNING, - "Invalid structure (unrecognized sub-array key: [%s])! " + "Invalid structure (unrecognized sub-array key)! " "Only allowed are: {key, id, value, aux, ignoreCase}. Cannot initialize. " - "Pattern index: %ld", key, (long)pidx); + "Pattern index: %ld", (long)pidx); returnCode = -2; break; }