Ignore:
Timestamp:
Jun 25, 2008, 11:34:35 AM (14 years ago)
Author:
charles
Message:

(rpc) fix crash when quickly toggling rpc on/off reported by John_Clay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6251 r6253  
    113113    assert( server );
    114114
    115     shttpd_poll( server->ctx, 1 );
     115    if( server->ctx )
     116        shttpd_poll( server->ctx, 1 );
    116117
    117118    /* set a timer for the next pulse */
Note: See TracChangeset for help on using the changeset viewer.