summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-04-03 13:09:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-04-03 13:09:57 (GMT)
commit369ef33b8a22e3780924f52747721d12f9328bf0 (patch)
tree2bb3f7715f08668332ff2e56bccf0fdd3daba950
parentf80c4c6ee0479070f7319a5ce7e30e05406cdb8f (diff)
Fixed a mistake when building the work queues from Python.
-rw-r--r--ChangeLog5
-rw-r--r--plugins/pychrysa/pychrysa.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 067a186..7eecc90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
16-04-03 Cyrille Bagard <nocbos@gmail.com>
+ * plugins/pychrysa/pychrysa.c:
+ Fix a mistake when building the work queues from Python.
+
+16-04-03 Cyrille Bagard <nocbos@gmail.com>
+
* src/analysis/disass/Makefile.am:
Add the 'instructions.[ch]' files to libanalysisdisass_la_SOURCES.
diff --git a/plugins/pychrysa/pychrysa.c b/plugins/pychrysa/pychrysa.c
index 68ab15b..a985294 100644
--- a/plugins/pychrysa/pychrysa.c
+++ b/plugins/pychrysa/pychrysa.c
@@ -532,7 +532,7 @@ PyMODINIT_FUNC PyInit_pychrysalide(void)
/**
* On évite d'initialiser deux fois...
*/
- if (get_work_queue() != NULL)
+ if (get_work_queue() == NULL)
init_work_queue(NULL/* !! */);
////////////////////////