From 4284035b6a4edf4e2a3488dfc1ef91349263a7bc Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 4 Jan 2003 22:12:54 +0000 Subject: [PATCH] Removed key logging --- ChangeLog | 2 ++ mbfido/postecho.c | 10 +++++----- mbsetup/ledit.c | 5 ----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17873a45..a635b67d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,10 +47,12 @@ v0.37.00 26-Dec-2002. mbfido: Echomail from other zones showed the address of your own zone. Added logging when other errors are found. + At zonegates, the seenby lines were twice stripped. mbsetup: Removed global flags No-IBN, IFC and ITN from the setup. Removed nodes flags No-IBN, IFC and ITN from the setup. + removed del/rubout/bs keys logging. v0.36.00 26-Dec-2002 - stable release diff --git a/mbfido/postecho.c b/mbfido/postecho.c index 4923c4f6..b7a9854e 100644 --- a/mbfido/postecho.c +++ b/mbfido/postecho.c @@ -221,14 +221,14 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t m if (!strncmp(buf, "\001MSGID: ", 8)) { msgid = xstrcpy(buf + 8); /* - * Extra test to see if the address is correct. + * Extra test to see if the address is correct, only logging. */ p = strtok(buf, " \n"); p = strtok(NULL, " \n"); if ((ta = parsefnode(p))) { if ((ta->zone != f->zone) || (ta->point != f->point) || (ta->node != f->node) || (ta->net != f->net)) { p = xstrcpy(ascfnode(f, 0x1f)); - Syslog('!', "ERROR: f=%s, ta=%s", p, ascfnode(ta, 0x1f)); + Syslog('!', "ERROR: origin=%s, msgid=%s", p, ascfnode(ta, 0x1f)); free(p); } } @@ -236,12 +236,12 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t m if (!strncmp(buf, "\001REPLY: ", 8)) reply = xstrcpy(buf + 8); if (!strncmp(buf, "SEEN-BY:", 8)) { - if (Link.aka.zone == msgs.Aka.zone) { +// if (Link.aka.zone == msgs.Aka.zone) { p = xstrcpy(buf + 9); fill_list(&sbl, p, NULL); free(p); - } else - Syslog('m', "Strip zone SB lines"); +// } else +// Syslog('m', "Strip zone SB lines"); } if (!strncmp(buf, "\001PATH:", 6)) { p = xstrcpy(buf + 7); diff --git a/mbsetup/ledit.c b/mbsetup/ledit.c index 29c055a2..14518962 100644 --- a/mbsetup/ledit.c +++ b/mbsetup/ledit.c @@ -291,10 +291,6 @@ char *edit_field(int y, int x, int w, int p, char *s_) break; case KEY_BACKSPACE: case KEY_RUBOUT: - if (ch == KEY_RUBOUT) - Syslog('-', "Rubout pressed"); - else - Syslog('-', "Backspace pressed"); if (strlen(s) > 0) { if (curpos >= strlen(s)) { curpos--; @@ -308,7 +304,6 @@ char *edit_field(int y, int x, int w, int p, char *s_) putchar(7); break; case KEY_DEL: - Syslog('-', "Delete key pressed"); if (strlen(s) > 0) { if ((curpos) == (strlen(s) -1)) { s[curpos] = '\0';