From: Jonathan Neuschäfer Date: Sun, 21 Aug 2011 22:19:14 +0000 (+0200) Subject: plugin: fix plugin_callback_t documentation X-Git-Tag: release-0.20~96 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9762c4ad80ed7ee59b9a41af6510a575f4e1b59;p=ncmpc.git plugin: fix plugin_callback_t documentation --- diff --git a/src/plugin.h b/src/plugin.h index d82fc73..5e216bc 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -38,8 +38,8 @@ struct plugin_list { * messages on failure as determined by success * @param success result of the plugin cycle; true if result is meaningful * output, false if result contains error messages - * @param plugin_name the name of the plugin which succeeded; may become invalid - * once the callback returns (i.e. strdup it if you need it afterwards). + * @param plugin_name the name of the plugin which succeeded; becomes invalid + * when plugin_stop is called (i.e. strdup it if you need it afterwards). * @param data the caller defined pointer passed to plugin_run() */ typedef void (*plugin_callback_t)(const GString *result, const bool success,