Changeset 10884 for trunk/daemon/remote.c
- Timestamp:
- Jun 26, 2010, 8:48:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/remote.c
r10854 r10884 588 588 "activityDate", 589 589 "addedDate", 590 "bandwidthPriority", 590 591 "comment", 591 592 "corruptEver", … … 750 751 } 751 752 753 static const char *bandwidthPriorityNames[] = 754 { "Low", "Normal", "High", "Invalid" }; 755 752 756 static void 753 757 printDetails( tr_benc * top ) … … 1068 1072 printf( "\n" ); 1069 1073 1070 printf( "LIMITS \n" );1074 printf( "LIMITS & BANDWIDTH\n" ); 1071 1075 if( tr_bencDictFindBool( t, "downloadLimited", &boolVal ) 1072 1076 && tr_bencDictFindInt( t, "downloadLimit", &i ) ) … … 1091 1095 if( tr_bencDictFindInt ( t, "peer-limit", &i ) ) 1092 1096 printf( " Peer limit: %" PRId64 "\n", i ); 1097 if (tr_bencDictFindInt (t, "bandwidthPriority", &i)) 1098 printf (" Bandwidth Priority: %s\n", 1099 bandwidthPriorityNames[(i + 1) & 3]); 1100 1093 1101 printf( "\n" ); 1094 1102
Note: See TracChangeset
for help on using the changeset viewer.