Mercurial > pidgin
changeset 14433:aa4e9beab4de
[gaim-migrate @ 17147]
Get rid of an assertion failure. As far as I can tell there
is no benefit to calling got_sessionreq() if context is NULL
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 03 Sep 2006 23:30:06 +0000 |
parents | 3ac156db9cb6 |
children | 72eae9311ed5 |
files | libgaim/protocols/msn/slp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/msn/slp.c Sun Sep 03 21:42:52 2006 +0000 +++ b/libgaim/protocols/msn/slp.c Sun Sep 03 23:30:06 2006 +0000 @@ -422,7 +422,8 @@ context = get_token(content, "Context: ", "\r\n"); - got_sessionreq(slpcall, branch, euf_guid, context); + if (context != NULL) + got_sessionreq(slpcall, branch, euf_guid, context); g_free(context); g_free(euf_guid);