Mercurial > pidgin
diff src/protocols/yahoo/yahoo.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 | e4a032202d49 |
children | 2b6bf836c6b9 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Fri Sep 10 04:43:31 2004 +0000 +++ b/src/protocols/yahoo/yahoo.c Fri Sep 10 19:51:52 2004 +0000 @@ -3101,7 +3101,7 @@ type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, "available-wm", "Available With Message", TRUE, TRUE, FALSE, "message", _("Message"), - gaim_value_new(GAIM_TYPE_STRING)); + gaim_value_new(GAIM_TYPE_STRING), NULL); types = g_list_append(types, type); @@ -3135,7 +3135,7 @@ type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, "away", "Away", TRUE, TRUE, FALSE, "message", _("Message"), - gaim_value_new(GAIM_TYPE_STRING)); + gaim_value_new(GAIM_TYPE_STRING), NULL); types = g_list_append(types, type); } type = gaim_status_type_new(GAIM_STATUS_HIDDEN, "invisible", _("Invisible"), TRUE);