mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk) copyediting: remove trailing spaces from source code lines in daemon/ gtk/ libtransmission/ and utils/
This commit is contained in:
@@ -515,7 +515,7 @@ publishPeersPex( tr_tier * tier, int seeds, int leechers,
|
||||
|
||||
static size_t
|
||||
publishPeersCompact( tr_tier * tier, int seeds, int leechers,
|
||||
const void * compact, int compactLen )
|
||||
const void * compact, int compactLen )
|
||||
{
|
||||
size_t n = 0;
|
||||
tr_pex * pex = tr_peerMgrCompactToPex( compact, compactLen, NULL, 0, &n );
|
||||
@@ -527,7 +527,7 @@ publishPeersCompact( tr_tier * tier, int seeds, int leechers,
|
||||
|
||||
static size_t
|
||||
publishPeersCompact6( tr_tier * tier, int seeds, int leechers,
|
||||
const void * compact, int compactLen )
|
||||
const void * compact, int compactLen )
|
||||
{
|
||||
size_t n = 0;
|
||||
tr_pex * pex = tr_peerMgrCompact6ToPex( compact, compactLen, NULL, 0, &n );
|
||||
@@ -577,10 +577,10 @@ publishPeersDict( tr_tier * tier, int seeds, int leechers, tr_benc * peerList )
|
||||
}
|
||||
|
||||
static char*
|
||||
createAnnounceURL( const tr_announcer * announcer,
|
||||
const tr_torrent * torrent,
|
||||
const tr_tier * tier,
|
||||
const char * eventName )
|
||||
createAnnounceURL( const tr_announcer * announcer,
|
||||
const tr_torrent * torrent,
|
||||
const tr_tier * tier,
|
||||
const char * eventName )
|
||||
{
|
||||
const int isStopping = !strcmp( eventName, "stopped" );
|
||||
const int numwant = isStopping ? 0 : NUMWANT;
|
||||
|
||||
@@ -56,7 +56,7 @@ enum
|
||||
|
||||
/* true if the peer telling us about this peer
|
||||
* initiated the connection (implying that it is connectible) */
|
||||
ADDED_F_CONNECTABLE = 16
|
||||
ADDED_F_CONNECTABLE = 16
|
||||
};
|
||||
|
||||
typedef struct tr_pex
|
||||
|
||||
Reference in New Issue
Block a user