Ignore:
Timestamp:
Jul 28, 2008, 7:47:16 PM (13 years ago)
Author:
charles
Message:

rename `pulse' as peerPulse() and trackerPulse() to make backtraces easier to read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r6334 r6412  
    667667};
    668668
    669 static int pulse( void * vsession );
     669static int trackerPulse( void * vsession );
    670670
    671671static void
     
    675675    {
    676676        session->tracker = tr_new0( struct tr_tracker_handle, 1 );
    677         session->tracker->pulseTimer = tr_timerNew( session, pulse, session, PULSE_INTERVAL_MSEC );
     677        session->tracker->pulseTimer = tr_timerNew( session, trackerPulse, session, PULSE_INTERVAL_MSEC );
    678678        dbgmsg( NULL, "creating tracker timer" );
    679679    }
     
    765765
    766766static int
    767 pulse( void * vsession )
     767trackerPulse( void * vsession )
    768768{
    769769    tr_session * session = vsession;
     
    814814        --session->tracker->runningCount;
    815815        dbgmsg( NULL, "decrementing runningCount to %d", session->tracker->runningCount );
    816         pulse( session );
     816        trackerPulse( session );
    817817    }
    818818}
Note: See TracChangeset for help on using the changeset viewer.