Mercurial > pidgin.yaz
diff src/protocols/jabber/buddy.c @ 13785:10f702a4d3dc
[gaim-migrate @ 16197]
more jabber status message escape goodness
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 24 May 2006 17:38:42 +0000 |
parents | d64da4db5e8f |
children | 02c7d18f5cc3 |
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c Wed May 24 00:39:15 2006 +0000 +++ b/src/protocols/jabber/buddy.c Wed May 24 17:38:42 2006 +0000 @@ -110,7 +110,10 @@ jbr->state = state; if(jbr->status) g_free(jbr->status); - jbr->status = g_markup_escape_text(status, -1); + if (status) + jbr->status = g_markup_escape_text(status, -1); + else + jbr->status = NULL; return jbr; }