$Log$
+ Revision 607.5 2003/06/22 20:49:31 error
+ * citadel.c: display idle times in wholist up to 999 days
+
Revision 607.4 2003/06/19 04:12:30 ajc
* domain.c: use qsort() to sort MX records by preference. Why have a
custom function when the operating system provides one for free?
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
roomname[20] = 0;
pprintf("%-20s ", roomname);
if (idletime > rc_idle_threshold) {
- /* over 10 days, must be gone fishing */
- if (idlehours > 239) {
+ /* over 1000d, must be gone fishing */
+ if (idlehours > 23999) {
pprintf("fish");
+ /* over 10 days */
+ } else if (idlehours > 239) {
+ pprintf("%3ldd",
+ idlehours / 24);
/* over 10 hours */
} else if (idlehours > 9) {
pprintf("%1ldd%02ld",