Mercurial > pidgin.yaz
changeset 2274:f2150073cd41
[gaim-migrate @ 2284]
bug.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 12 Sep 2001 21:52:40 +0000 |
parents | 0b5c3338fa3d |
children | f7bf34a3b535 |
files | src/plugins.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins.c Wed Sep 12 21:29:32 2001 +0000 +++ b/src/plugins.c Wed Sep 12 21:52:40 2001 +0000 @@ -931,7 +931,7 @@ break; case event_chat_invited: g_snprintf(buf, sizeof buf, "\"%s\" \"%s\" %s", (char *)arg2, (char *)arg3, - (char *)arg4); + arg4 ? (char *)arg4 : ""); break; case event_chat_join: g_snprintf(buf, sizeof buf, "\"%s\"", (char *)arg2); @@ -955,7 +955,8 @@ break; case event_warned: g_snprintf(buf, sizeof buf, "\"%s\" \"%s\" %d", - ((struct gaim_connection *)arg1)->username, (char *)arg2, (int)arg3); + ((struct gaim_connection *)arg1)->username, + arg2 ? (char *)arg2 : "", (int)arg3); break; case event_error: g_snprintf(buf, sizeof buf, "%d", (int)arg1);