Commit 129c9c52 by Victor M. Alvarez

Fix indentation.

parent 10cfee08
...@@ -1567,6 +1567,7 @@ static PyObject* Rules_match( ...@@ -1567,6 +1567,7 @@ static PyObject* Rules_match(
Rules* object = (Rules*) self; Rules* object = (Rules*) self;
YR_SCANNER* scanner;
CALLBACK_DATA callback_data; CALLBACK_DATA callback_data;
callback_data.matches = NULL; callback_data.matches = NULL;
...@@ -1644,12 +1645,12 @@ static PyObject* Rules_match( ...@@ -1644,12 +1645,12 @@ static PyObject* Rules_match(
} }
} }
YR_SCANNER* scanner; if (yr_scanner_create(object->rules, &scanner) != 0)
if (yr_scanner_create(object->rules, &scanner) != 0) { {
return PyErr_Format( return PyErr_Format(
PyExc_Exception, PyExc_Exception,
"could not create scanner"); "could not create scanner");
} }
if (externals != NULL && externals != Py_None) if (externals != NULL && externals != Py_None)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment