Mercurial > pidgin
changeset 32528:11c9664778d7
Add two friendly little checks
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 18 Feb 2012 23:46:04 +0000 |
parents | e374fea71214 |
children | 28b741b2fc1d |
files | libpurple/protocols/oscar/family_icbm.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_icbm.c Sat Feb 18 23:43:18 2012 +0000 +++ b/libpurple/protocols/oscar/family_icbm.c Sat Feb 18 23:46:04 2012 +0000 @@ -650,6 +650,9 @@ GSList *outer_tlvlist = NULL, *inner_tlvlist = NULL; ByteStream hdrbs; + g_return_if_fail(bn != NULL); + g_return_if_fail(ip != NULL); + conn = flap_connection_findbygroup(od, SNAC_FAMILY_ICBM); if (conn == NULL) return;