summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index faf2e9a..8731164 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -235,7 +235,7 @@ char* sp_convert_to_string(zval* zv) {
235 235
236bool sp_match_value(const char* value, const char* to_match, const pcre* rx) { 236bool sp_match_value(const char* value, const char* to_match, const pcre* rx) {
237 if (to_match) { 237 if (to_match) {
238 if (0 == strcmp(value, to_match)) { 238 if (0 == strcmp(to_match, value)) {
239 return true; 239 return true;
240 } 240 }
241 } else if (rx) { 241 } else if (rx) {