Changeset 10921


Ignore:
Timestamp:
Jul 1, 2010, 4:09:47 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #3382 "2.01+ (10919) hangs after launch" -- fixed.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-dht.c

    r10913 r10921  
    544544    tr_runInEventThread( session, getstatus, &closure );
    545545    while( closure.status < 0 )
    546         tr_wait_msec( 10 /*msec*/ );
     546        tr_wait_msec( 50 /*msec*/ );
    547547
    548548    if( nodes_return )
  • trunk/libtransmission/utils.c

    r10918 r10921  
    798798    struct timespec ts;
    799799    ts.tv_sec = msec / 1000;
    800     ts.tv_sec = ( msec % 1000 ) * 1000000;
     800    ts.tv_nsec = ( msec % 1000 ) * 1000000;
    801801    nanosleep( &ts, NULL );
    802802#endif
Note: See TracChangeset for help on using the changeset viewer.