Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 10624:235e72d7bb0a
[gaim-migrate @ 12096]
'\0' != NULL
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 22 Feb 2005 16:54:56 +0000 |
parents | 9eb3b224face |
children | 6a618db0a404 |
comparison
equal
deleted
inserted
replaced
10623:14c32196fcfd | 10624:235e72d7bb0a |
---|---|
425 static void irc_get_info(GaimConnection *gc, const char *who) | 425 static void irc_get_info(GaimConnection *gc, const char *who) |
426 { | 426 { |
427 struct irc_conn *irc = gc->proto_data; | 427 struct irc_conn *irc = gc->proto_data; |
428 const char *args[2]; | 428 const char *args[2]; |
429 args[0] = who; | 429 args[0] = who; |
430 args[1] = '\0'; | 430 args[1] = NULL; |
431 irc_cmd_whois(irc, "whois", NULL, args); | 431 irc_cmd_whois(irc, "whois", NULL, args); |
432 } | 432 } |
433 | 433 |
434 static void irc_set_status(GaimAccount *account, GaimStatus *status) | 434 static void irc_set_status(GaimAccount *account, GaimStatus *status) |
435 { | 435 { |