Changeset 4109


Ignore:
Timestamp:
Dec 9, 2007, 3:26:27 PM (15 years ago)
Author:
charles
Message:

I think this one-line change may fix all the "Transmission 0.95 ate my data, corrupted my hard drive, and killed my cat!" complaints

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fdlimit.c

    r4046 r4109  
    255255
    256256        if( winner >= 0 ) {
    257             if( fileIsOpen( &gFd->open[i] ) ) {
     257            if( fileIsOpen( &gFd->open[winner] ) ) {
    258258                dbgmsg( "closing file '%s', slot #%d", gFd->open[winner].filename, winner );
    259259                TrCloseFile( winner );
  • trunk/libtransmission/utils.c

    r4094 r4109  
    229229                *messageQueueTail = newmsg;
    230230                messageQueueTail = &newmsg->next;
     231
     232                if( strstr( file, "fdlimit.c" ) )
     233                    fprintf( stderr, "%s\n", text );
    231234            }
    232235            else
Note: See TracChangeset for help on using the changeset viewer.