From ad2146cc24a71c063a64df7a278856c5409c474c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 28 May 2008 13:03:34 +0000 Subject: [PATCH] #972 (partial) Transmission fails to compile with Sun Studio due to funky C code --- libtransmission/torrent.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 4005cd807..c57cf5f1f 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -863,11 +863,12 @@ tr_torrentPeersFree( tr_peer_stat * peers, int peerCount UNUSED ) tr_free( peers ); } -void tr_torrentAvailability( const tr_torrent * tor, int8_t * tab, int size ) +void +tr_torrentAvailability( const tr_torrent * tor, int8_t * tab, int size ) { - return tr_peerMgrTorrentAvailability( tor->handle->peerMgr, - tor->info.hash, - tab, size ); + tr_peerMgrTorrentAvailability( tor->handle->peerMgr, + tor->info.hash, + tab, size ); } void