Skip to content

Commit

Permalink
Make comment somewhat more understandable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent ff89aca commit b2da40a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/plugins/filed/python-fd.c
Expand Up @@ -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);
Expand Down

0 comments on commit b2da40a

Please sign in to comment.