mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
always round up the kB value so we won't have 0kB file sizes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1468 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4c42e7d894
commit
c61edaf7c9
3 changed files with 5 additions and 4 deletions
|
|
@ -59,8 +59,8 @@ static void dcc_closed(SEND_DCC_REC *dcc)
|
|||
} else {
|
||||
printformat(dcc->server, NULL, MSGLEVEL_DCC,
|
||||
IRCTXT_DCC_SEND_COMPLETE,
|
||||
dcc->arg, dcc->transfd/1024, dcc->nick,
|
||||
(long) secs, kbs);
|
||||
dcc->arg, (dcc->transfd+1023)/1024,
|
||||
dcc->nick, (long) secs, kbs);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue