plugin: Don't switch plugin context in 'write', 'notification' and 'log'.
authorSebastian Harl <sh@tokkee.org>
Sun, 14 Oct 2012 14:53:57 +0000 (16:53 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 14 Oct 2012 14:53:57 +0000 (16:53 +0200)
commit32eb98cd7911b291e6341242971142e4ef5567f4
tree3937f3537fa1c8b89626acd437dd8214d682256c
parentec36b4bdca9dbe957f39bef619cdc8c48103a86c
plugin: Don't switch plugin context in 'write', 'notification' and 'log'.

Rather, keep the context (i.e. interval) information of the calling (read)
plugin. This allows the write, notify and log callbacks to access the correct
interval settings appropriate for the current data-set.
src/plugin.c