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:
Timo Sirainen 2001-05-11 11:52:32 +00:00 committed by cras
commit c61edaf7c9
3 changed files with 5 additions and 4 deletions

View file

@ -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);
}
}