diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-28 11:40:55 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-28 11:40:55 +0100 |
commit | 4c3a10506ab044427623047f60ba8a1dcb70908d (patch) | |
tree | 3121efb2729dc584d03242461f4c26a662f0ee3e /src/plugins/relay | |
parent | 82ade05f66a4148dfe3a881080cade1fc2d5808c (diff) | |
download | weechat-4c3a10506ab044427623047f60ba8a1dcb70908d.zip |
relay: fix size used in a snprintf
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index 2b97a30a3..3af898863 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -438,7 +438,7 @@ relay_irc_signal_irc_outtags_cb (void *data, const char *signal, && relay_irc_command_relayed (irc_command)) { /* get host for nick (it is self nick) */ - snprintf (str_infolist_args, sizeof (str_infolist_args) - 1, + snprintf (str_infolist_args, sizeof (str_infolist_args), "%s,%s,%s", client->protocol_args, irc_channel, |