1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

rmodifier: fix size used in a snprintf

This commit is contained in:
Sebastien Helleu
2014-02-28 11:41:14 +01:00
parent 4c3a10506a
commit 7ff2dd13cb
+1 -1
View File
@@ -240,7 +240,7 @@ rmodifier_hook_modifiers (struct t_rmodifier *rmodifier)
* we use a high priority here, so that other modifiers
* (from other plugins) will be called after this one
*/
snprintf (str_modifier, sizeof (str_modifier) - 1,
snprintf (str_modifier, sizeof (str_modifier),
"5000|%s", argv[i]);
rmodifier->hooks[i] = weechat_hook_modifier (str_modifier,
&rmodifier_modifier_cb,