Removed key logging
This commit is contained in:
parent
cdc8e40843
commit
4284035b6a
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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';
|
||||
|
Reference in New Issue
Block a user