# HG changeset patch # User Daniel Atallah # Date 1109039830 0 # Node ID 9eb3b224face084a93452f58608ca024b006cea9 # Parent 927de469483ed7bf24c1005fd15c91a7387093b9 [gaim-migrate @ 12083] irc_cmd_whois() now expects args of length 2 committer: Tailor Script diff -r 927de469483e -r 9eb3b224face src/protocols/irc/irc.c --- 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); }