Changeset b043ad5
- Timestamp:
- 2008-05-08T21:20:36Z (17 years ago)
- Branches:
- master
- Children:
- b5cfc2b
- Parents:
- 44961cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dcc.c
r44961cb rb043ad5 185 185 struct dcc_file_transfer *df = data; 186 186 187 if( df-> ft->bytes_transferred== df->progress_bytes_last )187 if( df->bytes_sent == df->progress_bytes_last ) 188 188 { 189 189 /* no progress. cancel */ … … 191 191 return dcc_abort( df, "Couldnt establish transfer within %d seconds", DCC_MAX_STALL ); 192 192 else 193 return dcc_abort( df, "Transfer stalled for %d seconds at %d kb", DCC_MAX_STALL, df-> ft->bytes_transferred/ 1024 );194 195 } 196 197 df->progress_bytes_last = df-> ft->bytes_transferred;193 return dcc_abort( df, "Transfer stalled for %d seconds at %d kb", DCC_MAX_STALL, df->bytes_sent / 1024 ); 194 195 } 196 197 df->progress_bytes_last = df->bytes_sent; 198 198 199 199 return TRUE;
Note: See TracChangeset
for help on using the changeset viewer.