Changeset 2235


Ignore:
Timestamp:
Jun 29, 2007, 5:29:02 PM (15 years ago)
Author:
charles
Message:

use tr_new(), not g_new(). I've been hacking in glib too long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer.c

    r2234 r2235  
    865865        double outboundSpeedKiBs;
    866866        double inboundSpeedKiBs;
    867         int j, size;
     867        int size;
    868868        tr_peer_t * peer = tor->peers[ i ];
    869869
     
    896896    }
    897897
    898     deadbeats = g_new( tr_peer_t*, tor->peerCount );
     898    deadbeats = tr_new( tr_peer_t*, tor->peerCount );
    899899    deadbeatCount = 0;
    900900    for( i=0; i<tor->peerCount; ++i ) {
Note: See TracChangeset for help on using the changeset viewer.