[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Re: [PATCH 2.8.4dev.18] ETA fixes
From: |
Ilya Zakharevich |
Subject: |
lynx-dev Re: [PATCH 2.8.4dev.18] ETA fixes |
Date: |
Thu, 22 Feb 2001 00:55:24 -0500 |
User-agent: |
Mutt/1.2.5i |
Drat, of course I missed one other place where EtaKB was needed!
Enjoy,
Ilya
--- ./src/HTAlert.c-pre-kb Wed Feb 14 02:51:02 2001
+++ ./src/HTAlert.c Mon Feb 19 16:58:18 2001
@@ -145,7 +145,8 @@ PRIVATE char *sprint_bytes ARGS3(
}
u = kbunits;
- if ((LYTransferRate == rateKB) && (n >= 10 * kb_units))
+ if ( (LYTransferRate == rateKB || LYTransferRate == rateEtaKB_maybe)
+ && (n >= 10 * kb_units) )
sprintf(s, "%ld", n/kb_units);
else if ((LYTransferRate == rateKB || LYTransferRate == rateEtaKB_maybe)
&& (n > 999)) /* Avoid switching between 1016b/s and 1K/s */
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev Re: [PATCH 2.8.4dev.18] ETA fixes,
Ilya Zakharevich <=