Changeset 10153


Ignore:
Timestamp:
Feb 10, 2010, 3:57:41 AM (13 years ago)
Author:
charles
Message:

(trunk libT) oops, a couple of debugging printf()s snuck into the commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10150 r10153  
    352352    uint64_t byteCounts[3];
    353353
    354     tr_ptrArray announceEvents; /* const char* */
    355 
    356354    tr_ptrArray trackers; /* tr_tracker_item */
    357355    tr_tracker_item * currentTracker;
     
    371369
    372370    time_t announceAt;
    373     //const char * announceEvent;
     371    tr_ptrArray announceEvents; /* const char* */
    374372
    375373    /* unique lookup key */
     
    14231421            pos = i;
    14241422
    1425 fprintf( stderr, "in the queue: " );
    1426 for( i=0; i<n; ++i ) fprintf( stderr, "(%d)%s, ", i, events[i] );
    1427 fprintf( stderr, "\n" );
    1428 
    14291423    /* rule #2: if the next two events are the same, ignore the first one */
    14301424    for( i=0; pos<0 && i<=n-2; ++i )
     
    14451439
    14461440    /* announceEvents array upkeep */
    1447 fprintf( stderr, "what's left in the queue: " );
    14481441    tmp = TR_PTR_ARRAY_INIT;
    1449     for( i=pos+1; i<n; ++i ) {
    1450         fprintf( stderr, "(%d)%s, ", i, events[i] );
     1442    for( i=pos+1; i<n; ++i )
    14511443        tr_ptrArrayAppend( &tmp, events[i] );
    1452     }
    14531444    tr_ptrArrayDestruct( &tier->announceEvents, NULL );
    14541445    tier->announceEvents = tmp;
    1455 fprintf( stderr, "\n" );
    1456 
    1457 fprintf( stderr, "returning [%s] (pos %d)\n", (str?str:"(null)"), pos );
    14581446
    14591447    return str;
Note: See TracChangeset for help on using the changeset viewer.