Changeset 1751
- Timestamp:
- Apr 18, 2007, 4:41:37 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/client.c
r1736 r1751 877 877 assert( IPC_MSG_INFO == msgid ); 878 878 879 if( TYPE_LIST != list->type || NULL == resp->infocb)879 if( TYPE_LIST != list->type ) 880 880 { 881 881 return; … … 885 885 key.tag = tag; 886 886 resp = RB_FIND( resptree, &gl_resps, &key ); 887 if( NULL == resp )887 if( NULL == resp || NULL == resp->infocb ) 888 888 { 889 889 return; … … 929 929 assert( IPC_MSG_STAT == msgid ); 930 930 931 if( TYPE_LIST != list->type || NULL == resp->statcb)931 if( TYPE_LIST != list->type ) 932 932 { 933 933 return; … … 937 937 key.tag = tag; 938 938 resp = RB_FIND( resptree, &gl_resps, &key ); 939 if( NULL == resp )939 if( NULL == resp || NULL == resp->statcb ) 940 940 { 941 941 return; -
trunk/libtransmission/bencode.c
r1719 r1751 292 292 va_list ap; 293 293 294 ret = NULL; 294 295 va_start( ap, val ); 295 296 while( ( key = va_arg( ap, const char * ) ) )
Note: See TracChangeset
for help on using the changeset viewer.