Ignore:
Timestamp:
2008-05-06T00:20:11Z (13 years ago)
Author:
ulim <a.sporto+bee@…>
Branches:
master
Children:
44961cb
Parents:
29c1456
Message:

timeout of transfers after 120 seconds of no progress (bytes received/sent).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/si.c

    r29c1456 rd56ee38  
    5555{
    5656        struct jabber_transfer *tf = ft->data;
    57 
    58         imcb_log( tf->ic, "File %s transferred successfully!" , ft->file_name );
     57        time_t diff = time( NULL ) - ft->started;
     58
     59        imcb_log( tf->ic, "File %s transferred successfully at %d kb/s!" , ft->file_name, (int) ( ft->bytes_transferred / 1024 / diff ) );
    5960}
    6061
Note: See TracChangeset for help on using the changeset viewer.