Changeset 92d3044 for protocols/jabber


Ignore:
Timestamp:
2012-12-18T01:24:33Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
cc6fdf8
Parents:
3bda2c2
Message:

Improved failure handling in jabber_si_handle_request(). If the imcb
callback fails, we shouldn't try to continue the ft and dereference the NULL
ptr it returned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/si.c

    r3bda2c2 r92d3044  
    293293                }
    294294
    295                 *s = '/';
    296         }
    297         else
     295                if( s )
     296                        *s = '/';
     297        }
     298       
     299        if( !requestok )
    298300        {
    299301                reply = jabber_make_error_packet( node, "item-not-found", "cancel", NULL );
Note: See TracChangeset for help on using the changeset viewer.