Changeset 10390


Ignore:
Timestamp:
Mar 17, 2010, 5:07:40 PM (12 years ago)
Author:
charles
Message:

(trunk) one of the least interesting commits ever: remove trailing spaces from source code lines...

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/remote.c

    r10288 r10390  
    12591259            {
    12601260                switch( i ) {
    1261                     case TR_RATIOLIMIT_GLOBAL: 
     1261                    case TR_RATIOLIMIT_GLOBAL:
    12621262                        printf( "  Ratio Limit: Default\n" );
    12631263                        break;
  • trunk/daemon/watch.c

    r10295 r10390  
    4747    const size_t str_len = strlen( str );
    4848    const size_t suffix_len = strlen( suffix );
    49    
     49
    5050    if( str_len < suffix_len )
    5151        return FALSE;
  • trunk/gtk/details.c

    r10374 r10390  
    15771577                sort_col = PEER_COL_BLOCKS_UPLOADED_COUNT_INT;
    15781578                break;
    1579            
     1579
    15801580            case PEER_COL_REQS_CANCELLED_BY_CLIENT_COUNT_STRING:
    15811581                r = gtk_cell_renderer_text_new( );
  • trunk/gtk/favicon.c

    r10388 r10390  
    104104    gtr_idle_add( favicon_web_done_idle_cb, fav );
    105105}
    106    
     106
    107107void
    108108gtr_get_favicon( tr_session  * session,
    109                  const char  * host, 
    110                  GFunc         pixbuf_ready_func, 
     109                 const char  * host,
     110                 GFunc         pixbuf_ready_func,
    111111                 gpointer      pixbuf_ready_func_data )
    112112{
  • trunk/gtk/filter.c

    r10388 r10390  
    316316        }
    317317    }
    318    
     318
    319319    /* cleanup */
    320320    g_ptr_array_free( hosts, TRUE );
     
    516516                                    "pixbuf", CAT_FILTER_COL_PIXBUF,
    517517                                    NULL );
    518    
     518
    519519
    520520    r = gtk_cell_renderer_text_new( );
     
    914914    char * pch;
    915915    char * folded;
    916    
     916
    917917    pch = gtk_editable_get_chars( e, 0, -1 );
    918918    folded = g_utf8_casefold( pch, -1 );
     
    10661066        sl = gtk_radio_menu_item_get_group( GTK_RADIO_MENU_ITEM( w ) );
    10671067        g_object_set_data( G_OBJECT( w ), TEXT_MODE_KEY, GINT_TO_POINTER( i ) );
    1068         g_signal_connect( w, "toggled", G_CALLBACK( filter_text_toggled_cb ), data->filter_model ); 
     1068        g_signal_connect( w, "toggled", G_CALLBACK( filter_text_toggled_cb ), data->filter_model );
    10691069        gtk_menu_shell_append( GTK_MENU_SHELL( menu ), w );
    10701070        gtk_widget_show( w );
  • trunk/gtk/tr-icon.c

    r10200 r10390  
    140140        icon_name = icon_is_builtin ? MY_NAME : TRAY_ICON;
    141141    }
    142    
     142
    143143    indicator = app_indicator_new( MY_NAME, icon_name, APP_INDICATOR_CATEGORY_SYSTEM_SERVICES );
    144144    app_indicator_set_status( indicator, APP_INDICATOR_STATUS_ACTIVE );
     
    147147
    148148    g_object_set_data( G_OBJECT( indicator ), "tr-core", core );
    149    
     149
    150150    return indicator;
    151 }                       
     151}
    152152#else
    153153gpointer
  • trunk/gtk/util.c

    r10101 r10390  
    664664    }
    665665}
    666  
     666
    667667tr_priority_t
    668668gtr_priority_combo_get_value( GtkWidget * w )
     
    837837    {
    838838        g_string_append_printf( gstr, "\n \n" );
    839         g_string_append_printf( gstr, _( "This magnet link appears to be intended for something other than BitTorrent.  BitTorrent magnet links have a section containing \"%s\"." ), xt ); 
     839        g_string_append_printf( gstr, _( "This magnet link appears to be intended for something other than BitTorrent.  BitTorrent magnet links have a section containing \"%s\"." ), xt );
    840840    }
    841841
  • trunk/libtransmission/announcer.c

    r10288 r10390  
    888888        for( i=0; i<n; ++i ) {
    889889            tr_tier * tier = tiers[i];
    890             if( !tier->wasCopied )   
     890            if( !tier->wasCopied )
    891891                tierAddAnnounce( tier, STARTED, now );
    892892        }
  • trunk/libtransmission/history-test.c

    r10334 r10390  
    4646    check( (int)tr_historyGet( h, 22000, 20000 ) == 2 )
    4747    tr_historyFree( h );
    48    
     48
    4949    return 0;
    5050}
  • trunk/libtransmission/net.c

    r10111 r10390  
    366366            else
    367367                fmt = _( "Couldn't bind port %d on %s: %s (%s)" );
    368            
     368
    369369            tr_err( fmt, port, tr_ntop_non_ts( addr ), tr_strerror( err ), hint );
    370370        }
  • trunk/libtransmission/peer-mgr.c

    r10347 r10390  
    799799/**
    800800 * This function is useful for sanity checking,
    801  * but is too expensive even for nightly builds... 
     801 * but is too expensive even for nightly builds...
    802802 * let's leave it disabled but add an easy hook to compile it back in
    803803 */
     
    24382438        }
    24392439    }
    2440    
     2440
    24412441    t->interestedCount = 0;
    24422442
     
    24642464
    24652465/*fprintf( stderr, "num interested: %d\n", t->interestedCount );*/
    2466        
     2466
    24672467    /* cleanup */
    24682468    tr_free( untested );
     
    29162916
    29172917        /* decide how many peers can we try to add in this pass */
    2918    
    29192918        maxCandidates = maxPerPulse;
    29202919        if( tr_announcerHasBacklog( t->manager->session->announcer ) )
  • trunk/libtransmission/resume.c

    r10387 r10390  
    484484        else err = "Couldn't find 'have' or 'bitfield'";
    485485        if( err != NULL )
    486         { 
     486        {
    487487            tr_torrentUncheck( tor );
    488488            tr_tordbg( tor, "Torrent needs to be verified - %s", err );
  • trunk/libtransmission/session.c

    r10366 r10390  
    12121212
    12131213/* Called after the turtle's fields are loaded from an outside source.
    1214  * It initializes the implementation fields 
     1214 * It initializes the implementation fields
    12151215 * and turns on turtle mode if the clock settings say to. */
    12161216static void
  • trunk/libtransmission/torrent-magnet.c

    r10157 r10390  
    223223                    tr_bencFree( &newMetainfo );
    224224                }
    225        
     225
    226226                tr_bencFree( &infoDict );
    227227                tr_free( path );
  • trunk/libtransmission/transmission.h

    r10332 r10390  
    555555**/
    556556
    557 /** @brief Used by tr_sessionGetStats() and tr_sessionGetCumulativeStats() to give bandwidth statistics */ 
     557/** @brief Used by tr_sessionGetStats() and tr_sessionGetCumulativeStats() to give bandwidth statistics */
    558558typedef struct tr_session_stats
    559559{
     
    10441044/**
    10451045 * @brief Tell transmsision where to find this torrent's local data.
    1046  * 
     1046 *
    10471047 * if move_from_previous_location is `true', the torrent's incompleteDir
    10481048 * will be clobberred s.t. additional files being added will be saved
     
    14921492    /* which tier this tracker is in */
    14931493    int tier;
    1494    
     1494
    14951495    /* used to match to a tr_tracker_info */
    14961496    uint32_t id;
  • trunk/libtransmission/utils.c

    r10365 r10390  
    940940    char * scheme = NULL;
    941941
    942     valid = isValidURLChars( url ) 
     942    valid = isValidURLChars( url )
    943943         && !tr_urlParse( url, -1, &scheme, NULL, NULL, NULL )
    944944         && ( scheme != NULL )
     
    956956    char * scheme = NULL;
    957957
    958     valid = isValidURLChars( url ) 
     958    valid = isValidURLChars( url )
    959959         && !tr_urlParse( url, -1, &scheme, NULL, NULL, NULL )
    960960         && ( scheme != NULL )
Note: See TracChangeset for help on using the changeset viewer.