Mercurial > pidgin.yaz
changeset 10618:9eb3b224face
[gaim-migrate @ 12083]
irc_cmd_whois() now expects args of length 2
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 22 Feb 2005 02:37:10 +0000 |
parents | 927de469483e |
children | 4ab7dec04c38 |
files | src/protocols/irc/irc.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Mon Feb 21 15:05:59 2005 +0000 +++ b/src/protocols/irc/irc.c Tue Feb 22 02:37:10 2005 +0000 @@ -425,8 +425,9 @@ static void irc_get_info(GaimConnection *gc, const char *who) { struct irc_conn *irc = gc->proto_data; - const char *args[1]; + const char *args[2]; args[0] = who; + args[1] = '\0'; irc_cmd_whois(irc, "whois", NULL, args); }