From b2da40a0744de5abe4bcf1dbe47c331880d0b3a7 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 26 Sep 2014 09:10:59 +0200 Subject: [PATCH] Make comment somewhat more understandable. --- src/plugins/filed/python-fd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/filed/python-fd.c b/src/plugins/filed/python-fd.c index 3cf9b7e5d9d..dee964ab7b9 100644 --- a/src/plugins/filed/python-fd.c +++ b/src/plugins/filed/python-fd.c @@ -398,9 +398,10 @@ static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value) } /* - * See if we have been triggered in the previous switch of not we have to - * do out work here and if we did we need to be sure the parse_plugin_definition - * returned bRC_OK indicating the plugin definition was OK. + * See if we have been triggered in the previous switch if not we have to + * always dispatch the event. If we already processed the event internally + * we only do a dispatch to the python entry point when that internal processing + * was successfull (e.g. retval == bRC_OK). */ if (!event_dispatched || retval == bRC_OK) { PyEval_AcquireThread(p_ctx->interpreter);