Changeset 7134
- Timestamp:
- Nov 21, 2008, 4:53:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/stats.c
r7126 r7134 21 21 ***/ 22 22 23 static struct tr_session_stats STATS_INIT = { 0.0f, 0, 0, 0, 0, 0 }; 24 23 25 struct tr_stats_handle 24 26 { … … 118 120 tr_statsClose( tr_handle * handle ) 119 121 { 120 tr_session_stats cumulative ;122 tr_session_stats cumulative = STATS_INIT; 121 123 122 124 tr_sessionGetCumulativeStats( handle, &cumulative ); … … 175 177 { 176 178 const struct tr_stats_handle * stats = getStats( handle ); 177 tr_session_stats current ;179 tr_session_stats current = STATS_INIT; 178 180 179 181 if( stats )
Note: See TracChangeset
for help on using the changeset viewer.