Ticket #1791: transmission-fix_debug_output.diff

File transmission-fix_debug_output.diff, 1.9 KB (added by turbo, 12 years ago)

Remove extra spaces, Sentence starts with uppercase...

  • libtransmission/tracker.c

    diff --exclude='*.Po' --exclude=.svn -ur transmission-SVN.old/libtransmission/tracker.c transmission-SVN/libtransmission/tracker.c
    old new  
    661661                    t->scrapeIntervalSec = DEFAULT_SCRAPE_INTERVAL_SEC;
    662662
    663663                tr_ndbg( t->name,
    664                          "Scrape successful.  Rescraping in %d seconds.",
     664                         "Scrape successful. Rescraping in %d seconds.",
    665665                         t->scrapeIntervalSec );
    666666
    667667                success = TRUE;
     
    685685    if( 200 <= responseCode && responseCode <= 299 )
    686686    {
    687687        const int interval = t->scrapeIntervalSec + t->randOffset;
    688         dbgmsg( t->name, "request succeeded. rescraping in %d seconds",
     688        dbgmsg( t->name, "Request succeeded. Rescraping in %d seconds",
    689689                interval );
    690         tr_ndbg( t->name, "request succeeded. rescraping in %d seconds",
     690        tr_ndbg( t->name, "Request succeeded. Rescraping in %d seconds",
    691691                 interval );
    692692        t->scrapeAt = time( NULL ) + interval;
    693693    }
    694694    else if( 300 <= responseCode && responseCode <= 399 )
    695695    {
    696696        const int interval = 5;
    697         dbgmsg( t->name, "got a redirect. retrying in %d seconds", interval );
     697        dbgmsg( t->name, "Got a redirect. Retrying in %d seconds", interval );
    698698        t->scrapeAt = time( NULL ) + interval;
    699699    }
    700700    else
     
    702702        const int interval = t->retryScrapeIntervalSec + t->randOffset;
    703703        dbgmsg(
    704704            t->name,
    705             "Tracker responded to scrape with %ld.  Retrying in %d seconds.",
     705            "Tracker responded to scrape with %ld. Retrying in %d seconds.",
    706706            responseCode,  interval );
    707707        t->retryScrapeIntervalSec *= 2;
    708708        t->scrapeAt = time( NULL ) + interval;