Removed key logging

This commit is contained in:
Michiel Broek 2003-01-04 22:12:54 +00:00
parent cdc8e40843
commit 4284035b6a
3 changed files with 7 additions and 10 deletions

View File

@ -47,10 +47,12 @@ v0.37.00 26-Dec-2002.
mbfido: mbfido:
Echomail from other zones showed the address of your own zone. Echomail from other zones showed the address of your own zone.
Added logging when other errors are found. Added logging when other errors are found.
At zonegates, the seenby lines were twice stripped.
mbsetup: mbsetup:
Removed global flags No-IBN, IFC and ITN from the setup. Removed global flags No-IBN, IFC and ITN from the setup.
Removed nodes 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 v0.36.00 26-Dec-2002 - stable release

View File

@ -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)) { if (!strncmp(buf, "\001MSGID: ", 8)) {
msgid = xstrcpy(buf + 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(buf, " \n");
p = strtok(NULL, " \n"); p = strtok(NULL, " \n");
if ((ta = parsefnode(p))) { if ((ta = parsefnode(p))) {
if ((ta->zone != f->zone) || (ta->point != f->point) || (ta->node != f->node) || (ta->net != f->net)) { if ((ta->zone != f->zone) || (ta->point != f->point) || (ta->node != f->node) || (ta->net != f->net)) {
p = xstrcpy(ascfnode(f, 0x1f)); 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); 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)) if (!strncmp(buf, "\001REPLY: ", 8))
reply = xstrcpy(buf + 8); reply = xstrcpy(buf + 8);
if (!strncmp(buf, "SEEN-BY:", 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); p = xstrcpy(buf + 9);
fill_list(&sbl, p, NULL); fill_list(&sbl, p, NULL);
free(p); free(p);
} else // } else
Syslog('m', "Strip zone SB lines"); // Syslog('m', "Strip zone SB lines");
} }
if (!strncmp(buf, "\001PATH:", 6)) { if (!strncmp(buf, "\001PATH:", 6)) {
p = xstrcpy(buf + 7); p = xstrcpy(buf + 7);

View File

@ -291,10 +291,6 @@ char *edit_field(int y, int x, int w, int p, char *s_)
break; break;
case KEY_BACKSPACE: case KEY_BACKSPACE:
case KEY_RUBOUT: case KEY_RUBOUT:
if (ch == KEY_RUBOUT)
Syslog('-', "Rubout pressed");
else
Syslog('-', "Backspace pressed");
if (strlen(s) > 0) { if (strlen(s) > 0) {
if (curpos >= strlen(s)) { if (curpos >= strlen(s)) {
curpos--; curpos--;
@ -308,7 +304,6 @@ char *edit_field(int y, int x, int w, int p, char *s_)
putchar(7); putchar(7);
break; break;
case KEY_DEL: case KEY_DEL:
Syslog('-', "Delete key pressed");
if (strlen(s) > 0) { if (strlen(s) > 0) {
if ((curpos) == (strlen(s) -1)) { if ((curpos) == (strlen(s) -1)) {
s[curpos] = '\0'; s[curpos] = '\0';