Changeset 5764
- Timestamp:
- May 6, 2008, 8:31:05 PM (14 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/fastresume.c
r5720 r5764 208 208 209 209 /* Write progress data */ 210 if (1){210 { 211 211 int i, n; 212 212 tr_time_t * mtimes; -
trunk/libtransmission/makemeta.c
r5713 r5764 115 115 ret->top = tr_strdup( topFile ); 116 116 ret->handle = handle; 117 if (1){117 { 118 118 struct stat sb; 119 119 stat( topFile, &sb ); … … 123 123 /* build a list of files containing topFile and, 124 124 if it's a directory, all of its children */ 125 if (1){125 { 126 126 char *dir, *base; 127 127 char dirbuf[MAX_PATH_LENGTH]; -
trunk/libtransmission/peer-mgr.c
r5763 r5764 1750 1750 /* disconnect if it's been too long since piece data has been transferred. 1751 1751 * this is on a sliding scale based on number of available peers... */ 1752 if( 1 ){1752 { 1753 1753 const int relaxStrictnessIfFewerThanN = (int)((getMaxPeerCount(tor) * 0.9) + 0.5); 1754 1754 /* if we have >= relaxIfFewerThan, strictness is 100%.
Note: See TracChangeset
for help on using the changeset viewer.