(trunk libT) copyediting: removing trailing spaces from lines
This commit is contained in:
parent
7d551f609c
commit
99ab56a82f
|
@ -226,6 +226,4 @@ void tr_tracker_http_announce( tr_session * session,
|
||||||
void * user_data );
|
void * user_data );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* _TR_ANNOUNCER_COMMON_H_ */
|
#endif /* _TR_ANNOUNCER_COMMON_H_ */
|
||||||
|
|
|
@ -44,7 +44,7 @@ get_event_string( const tr_announce_request * req )
|
||||||
|
|
||||||
return tr_announce_event_get_string( req->event );
|
return tr_announce_event_get_string( req->event );
|
||||||
}
|
}
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
announce_url_new( const tr_session * session, const tr_announce_request * req )
|
announce_url_new( const tr_session * session, const tr_announce_request * req )
|
||||||
{
|
{
|
||||||
|
@ -331,7 +331,7 @@ on_scrape_done( tr_session * session,
|
||||||
size_t msglen,
|
size_t msglen,
|
||||||
void * vdata )
|
void * vdata )
|
||||||
{
|
{
|
||||||
tr_scrape_response * response;
|
tr_scrape_response * response;
|
||||||
struct scrape_data * data = vdata;
|
struct scrape_data * data = vdata;
|
||||||
|
|
||||||
response = &data->response;
|
response = &data->response;
|
||||||
|
|
|
@ -960,7 +960,7 @@ on_announce_done( tr_session * session,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
const char * str;
|
const char * str;
|
||||||
const tr_bool isStopped = event == TR_ANNOUNCE_EVENT_STOPPED;
|
const tr_bool isStopped = event == TR_ANNOUNCE_EVENT_STOPPED;
|
||||||
|
|
||||||
|
@ -1113,7 +1113,7 @@ find_tier( tr_torrent * tor, const char * url )
|
||||||
int i;
|
int i;
|
||||||
int n = tr_ptrArraySize( &tor->tiers->tiers );
|
int n = tr_ptrArraySize( &tor->tiers->tiers );
|
||||||
tr_tier ** tiers = (tr_tier**) tr_ptrArrayBase( &tor->tiers->tiers );
|
tr_tier ** tiers = (tr_tier**) tr_ptrArrayBase( &tor->tiers->tiers );
|
||||||
|
|
||||||
for( i=0; i<n; ++i ) {
|
for( i=0; i<n; ++i ) {
|
||||||
tr_tracker * tracker = tiers[i]->currentTracker;
|
tr_tracker * tracker = tiers[i]->currentTracker;
|
||||||
if( tracker && !tr_strcmp0( tracker->scrape, url ) )
|
if( tracker && !tr_strcmp0( tracker->scrape, url ) )
|
||||||
|
|
Loading…
Reference in New Issue