Mercurial > pidgin
comparison libpurple/protocols/oscar/family_locate.c @ 32772:638a67eb5f4f
Remove unnecessary check
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 16 Apr 2012 06:53:05 +0000 |
parents | a8cc50c2279f |
children |
comparison
equal
deleted
inserted
replaced
32771:52fb2e955198 | 32772:638a67eb5f4f |
---|---|
1353 const char *mood = purple_status_get_attr_string(status, PURPLE_MOOD_NAME); | 1353 const char *mood = purple_status_get_attr_string(status, PURPLE_MOOD_NAME); |
1354 ByteStream bs; | 1354 ByteStream bs; |
1355 aim_snacid_t snacid; | 1355 aim_snacid_t snacid; |
1356 GSList *tlvlist = NULL; | 1356 GSList *tlvlist = NULL; |
1357 | 1357 |
1358 if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_LOCATE))) | 1358 if (!(conn = flap_connection_findbygroup(od, SNAC_FAMILY_LOCATE))) |
1359 return -EINVAL; | 1359 return -EINVAL; |
1360 | 1360 |
1361 aim_tlvlist_add_caps(&tlvlist, 0x0005, caps, mood); | 1361 aim_tlvlist_add_caps(&tlvlist, 0x0005, caps, mood); |
1362 | 1362 |
1363 byte_stream_new(&bs, aim_tlvlist_size(tlvlist)); | 1363 byte_stream_new(&bs, aim_tlvlist_size(tlvlist)); |