Removed some debug logging
This commit is contained in:
parent
2d3b56ace7
commit
5c0ab3b37c
@ -116,15 +116,7 @@ int binkp(int role)
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (role) {
|
||||
// if (localoptions & NOHOLD)
|
||||
nonhold_mail = (char *)ALL_MAIL;
|
||||
// else
|
||||
// nonhold_mail = (char *)NONHOLD_MAIL;
|
||||
} else {
|
||||
nonhold_mail = (char *)ALL_MAIL;
|
||||
}
|
||||
|
||||
eff_remote = remote;
|
||||
/*
|
||||
* If remote doesn't have the 8.3 flag set, allow long filenames.
|
||||
@ -304,7 +296,6 @@ to:
|
||||
|
||||
void binkp_settimer(int interval)
|
||||
{
|
||||
Syslog('B', "Set timer %d", interval);
|
||||
Timer = time((time_t*)NULL) + interval;
|
||||
}
|
||||
|
||||
@ -317,7 +308,7 @@ int binkp_expired(void)
|
||||
|
||||
now = time(NULL);
|
||||
if (now >= Timer)
|
||||
Syslog('b', "Timer expired");
|
||||
Syslog('+', "Binkp: timeout");
|
||||
return (now >= Timer);
|
||||
}
|
||||
|
||||
@ -455,10 +446,8 @@ SM_STATE(sendpass)
|
||||
if (strlen(nodes.Epasswd)) {
|
||||
SendPass = TRUE;
|
||||
binkp_send_control(MM_PWD, "%s", nodes.Epasswd);
|
||||
Syslog('-', "Password from setup sent");
|
||||
} else {
|
||||
binkp_send_control(MM_PWD, "-");
|
||||
Syslog('-', "Blank password - sent");
|
||||
}
|
||||
|
||||
SM_PROCEED(waitaddr)
|
||||
@ -724,7 +713,6 @@ SM_STATE(waitpwd)
|
||||
}
|
||||
|
||||
SM_STATE(pwdack)
|
||||
Syslog('-', "pwdack '%s' Loaded=%s strlen(nodes.Epasswd)=%d", &rbuf[1], Loaded?"true":"false", strlen(nodes.Epasswd));
|
||||
if ((strcmp(&rbuf[1], "-") == 0) && !Loaded) {
|
||||
Syslog('+', "Node not in setup, unprotected BINKP session");
|
||||
binkp_send_control(MM_OK, "");
|
||||
@ -1039,7 +1027,6 @@ int binkp_batch(file_list *to_send)
|
||||
NotDone = TRUE;
|
||||
break;
|
||||
}
|
||||
Syslog('B', "NotDone=%s", NotDone ? "True" : "False");
|
||||
if (tmp == NULL) {
|
||||
TxState = TxDone;
|
||||
binkp_send_control(MM_EOB, "");
|
||||
|
@ -216,14 +216,12 @@ void closetcp(void)
|
||||
if ((fph = fopen(tmp, "a")) == NULL)
|
||||
WriteError("$Can't open %s", tmp);
|
||||
else {
|
||||
Syslog('s', "closetcp() write history");
|
||||
fwrite(&history, sizeof(history), 1, fph);
|
||||
fclose(fph);
|
||||
}
|
||||
free(tmp);
|
||||
memset(&history, 0, sizeof(history));
|
||||
if (Loaded) {
|
||||
Syslog('s', "Updateing noderecord %s", aka2str(nodes.Aka[0]));
|
||||
nodes.LastDate = time(NULL);
|
||||
UpdateNode();
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ int LoadTic(char *inb, char *tfn)
|
||||
Temp[255] = '\0';
|
||||
}
|
||||
|
||||
Syslog('f', "TIC: %s", Temp);
|
||||
// Syslog('f', "TIC: %s", Temp);
|
||||
if (strncasecmp(Temp, "hatch", 5) == 0) {
|
||||
TIC.TicIn.Hatch = TRUE;
|
||||
|
||||
@ -229,7 +229,6 @@ int LoadTic(char *inb, char *tfn)
|
||||
|
||||
} else if (strncasecmp(Temp, "fullname ", 9) == 0) {
|
||||
strncpy(TIC.TicIn.FullName, Temp+9, 80);
|
||||
Syslog('f', "Long filename: %s", TIC.TicIn.FullName);
|
||||
|
||||
} else if (strncasecmp(Temp, "created ", 8) == 0) {
|
||||
strncpy(TIC.TicIn.Created, Temp+8, 80);
|
||||
|
Reference in New Issue
Block a user