Changeset 697
- Timestamp:
- 02/09/08 16:11:31 (3 months ago)
- Files:
-
- 1 modified
-
trunk/sm/pres.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sm/pres.c
r696 r697 345 345 /** see if the jid is trusted (ie in the roster with s10n="from" or "both") */ 346 346 int pres_trust(user_t user, jid_t jid) { 347 item_t item ;347 item_t item = NULL; 348 348 349 349 /* get roster item with bare jid*/ … … 351 351 352 352 /* retry with full jid if not found */ 353 if( !item)353 if(item == NULL) 354 354 item = xhash_get(user->roster, jid_full(jid)); 355 355
