summaryrefslogtreecommitdiff
path: root/plugins/shellexec
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shellexec')
-rw-r--r--plugins/shellexec/shellexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index 11f8f603..df164dee 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -257,6 +257,7 @@ shx_get_actions (DB_plugin_action_callback_t callback)
Shx_action_t*
shx_action_add (void) {
Shx_action_t *a = calloc (sizeof (Shx_action_t), 1);
+ a->parent.callback = (DB_plugin_action_callback_t)shx_callback;
if (!actions) {
actions = a;
}