X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Fcitadel.c;h=c5133b40038d16743ce85c667ffe45df2b95b2b0;hb=0c8706708324e1c6afdca71ac1228d5682f27a47;hp=6559ef8ebae4c56ebd822f505fff191e3e6386f6;hpb=a34ab2fe2c99fda491eb8ae91371774a32c2612e;p=citadel.git diff --git a/textclient/citadel.c b/textclient/citadel.c index 6559ef8eb..c5133b400 100644 --- a/textclient/citadel.c +++ b/textclient/citadel.c @@ -262,7 +262,6 @@ char *pop_march(int desired_floor, struct march *_march) { void dotgoto(CtdlIPC * ipc, char *towhere, int display_name, int fromungoto) { char aaa[SIZ], bbb[SIZ]; static long ls = 0L; - int newmailcount = 0; int partial_match, best_match; char from_floor; int ugpos = uglistsize; @@ -405,8 +404,7 @@ void dotgoto(CtdlIPC * ipc, char *towhere, int display_name, int fromungoto) { if (room->RRinfoupdated > 0) readinfo(ipc); - /* check for newly arrived mail if we can */ - newmailcount = room->RRnewmail; + /* check for newly arrived mail if we can FIXME use BIFF command for this if (newmailcount > 0) { color(BRIGHT_RED); if (newmailcount == 1) { @@ -422,12 +420,14 @@ void dotgoto(CtdlIPC * ipc, char *towhere, int display_name, int fromungoto) { scr_printf("*** failed to check for mail calling %s Reason %d.\n", rc_gotmail_cmd, rv); } } + */ + free(room); if (screenwidth > 5) snprintf(&status_line[1], screenwidth - 1, "%s | %s | %s | %s | %d new mail |", (secure ? "Encrypted" : "Unencrypted"), - ipc->ServInfo.humannode, ipc->ServInfo.site_location, room_name, newmailcount); + ipc->ServInfo.humannode, ipc->ServInfo.site_location, room_name, 0); // FIXME use BIFF }