diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-08 13:54:55 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-09 12:55:41 +0100 |
commit | f666a356d77ba4dc5188b430ead3ef572239ccd6 (patch) | |
tree | dd9f19310445bea9797ece7a551ad230f8c37f5f /src/plugins/trigger/trigger-callback.c | |
parent | 7b496197efcd8fa18860a6d9b426a81c1b695ce3 (diff) | |
download | weechat-f666a356d77ba4dc5188b430ead3ef572239ccd6.zip |
trigger: add missing init of buffer pointer in modifier callback
Diffstat (limited to 'src/plugins/trigger/trigger-callback.c')
-rw-r--r-- | src/plugins/trigger/trigger-callback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c index 6742e74e1..16d6e6ca6 100644 --- a/src/plugins/trigger/trigger-callback.c +++ b/src/plugins/trigger/trigger-callback.c @@ -362,6 +362,7 @@ trigger_callback_modifier_cb (void *data, const char *modifier, int no_trigger, length; no_trigger = 0; + buffer = NULL; /* get trigger pointer, return immediately if not found or trigger running */ trigger = (struct t_trigger *)data; |