fuzz: minor adjustment on op_test

This commit is contained in:
Felipe Zimmerle 2020-03-24 09:42:45 -03:00
parent 6de5c5984d
commit 7a0ad43087
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -118,7 +118,7 @@ using namespace modsecurity;
#include <signal.h>
#include <string.h>
inline void op_test(const std::string &opName, std::string &s) {
inline void op_test(const std::string &opName, const std::string &s) {
Operator *op = Operator::instantiate(opName, "");
op->init("", nullptr);
op->evaluate(nullptr, nullptr, s, nullptr);