1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-02 20:43:51 +00:00

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

This commit is contained in:
Charles Kerr 2007-06-29 17:29:02 +00:00
parent 59388ed0ba
commit 781c557e52

View file

@ -864,7 +864,7 @@ tr_torrentSwiftPulse ( tr_torrent_t * tor )
{
double outboundSpeedKiBs;
double inboundSpeedKiBs;
int j, size;
int size;
tr_peer_t * peer = tor->peers[ i ];
if( !tr_peerIsConnected( peer ) )
@ -895,7 +895,7 @@ tr_torrentSwiftPulse ( tr_torrent_t * tor )
}
}
deadbeats = g_new( tr_peer_t*, tor->peerCount );
deadbeats = tr_new( tr_peer_t*, tor->peerCount );
deadbeatCount = 0;
for( i=0; i<tor->peerCount; ++i ) {
tr_peer_t * peer = tor->peers[ i ];