summaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
parentf80c4c6ee0479070f7319a5ce7e30e05406cdb8f (diff)
Fixed a mistake when building the work queues from Python.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysa/pychrysa.c2
1 files changed, 1 insertions, 1 deletions
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/* !! */);
////////////////////////