comparison src/protocols/irc/irc.c @ 10009:c124bef68132

[gaim-migrate @ 10926] Thou shalt NULL terminate va_lists! This fixes the crash-at-startup bug I mentioned in my commit of Dave West's stuff last night. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 10 Sep 2004 19:51:52 +0000
parents 8ba9a9048d73
children 56e34a659db2
comparison
equal deleted inserted replaced
10008:50c1724d5e59 10009:c124bef68132
162 _("Available"), TRUE); 162 _("Available"), TRUE);
163 types = g_list_append(types, type); 163 types = g_list_append(types, type);
164 164
165 type = gaim_status_type_new_with_attrs( 165 type = gaim_status_type_new_with_attrs(
166 GAIM_STATUS_AWAY, "away", _("Away"), TRUE, TRUE, FALSE, 166 GAIM_STATUS_AWAY, "away", _("Away"), TRUE, TRUE, FALSE,
167 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING)); 167 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), NULL);
168
169 types = g_list_append(types, type); 168 types = g_list_append(types, type);
170 169
171 return types; 170 return types;
172 } 171 }
173 172