Small fixes
This commit is contained in:
parent
d02d6cc1a0
commit
ff4c5c35c4
@ -20,6 +20,7 @@ v0.35.01 05-Jun-2002
|
|||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
Now uses the new session password field for session handshake.
|
Now uses the new session password field for session handshake.
|
||||||
|
The binkd version string now includes the OS and CPU type.
|
||||||
|
|
||||||
mbfile:
|
mbfile:
|
||||||
Added -v commandline switch to supress virus checking for the
|
Added -v commandline switch to supress virus checking for the
|
||||||
@ -34,6 +35,7 @@ v0.35.01 05-Jun-2002
|
|||||||
during first configure of this program are automatic installed
|
during first configure of this program are automatic installed
|
||||||
in the setup and enabled. Others are shown there with default
|
in the setup and enabled. Others are shown there with default
|
||||||
paths but are disabled, they can be used as examples.
|
paths but are disabled, they can be used as examples.
|
||||||
|
Fixed crashing mbsetup in menus 10.3.2, 10.4.5 and 10.4.6.
|
||||||
|
|
||||||
|
|
||||||
v0.33.21 04-Jun-2002
|
v0.33.21 04-Jun-2002
|
||||||
|
4
TODO
4
TODO
@ -69,8 +69,6 @@ mbfido:
|
|||||||
N: The first file received in a not yet created tic area is refused
|
N: The first file received in a not yet created tic area is refused
|
||||||
after the area is created: node xxx not connected to area xxx.
|
after the area is created: node xxx not connected to area xxx.
|
||||||
|
|
||||||
N: Doesn't erase netmail.jam and/or echomail.jam after a full mailscan.
|
|
||||||
|
|
||||||
N: Add traffic to html.nodes
|
N: Add traffic to html.nodes
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
@ -111,8 +109,6 @@ mbnewusr:
|
|||||||
N: On NetBSD, supress error message from mbpasswd.
|
N: On NetBSD, supress error message from mbpasswd.
|
||||||
|
|
||||||
mbsetup:
|
mbsetup:
|
||||||
U: In menu 10.3, selection 2, pressing enter crashes mbsetup.
|
|
||||||
|
|
||||||
U: PickAka function lets mbsetup crash if domain is 12 characters
|
U: PickAka function lets mbsetup crash if domain is 12 characters
|
||||||
|
|
||||||
U: Use some sort of sorting for the system aka's and make sure the
|
U: Use some sort of sorting for the system aka's and make sure the
|
||||||
|
@ -325,7 +325,7 @@ void b_banner(int originate)
|
|||||||
binkp_send_control(MM_NUL,"NDL %s", CFG.Flags);
|
binkp_send_control(MM_NUL,"NDL %s", CFG.Flags);
|
||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
binkp_send_control(MM_NUL,"TIME %s", rfcdate(t));
|
binkp_send_control(MM_NUL,"TIME %s", rfcdate(t));
|
||||||
binkp_send_control(MM_NUL,"VER mbcico/%s binkp/1.0", VERSION);
|
binkp_send_control(MM_NUL,"VER mbcico/%s/%s-%s binkp/1.0", VERSION, OsName(), OsCPU());
|
||||||
if (strlen(CFG.Phone))
|
if (strlen(CFG.Phone))
|
||||||
binkp_send_control(MM_NUL,"PHN %s", CFG.Phone);
|
binkp_send_control(MM_NUL,"PHN %s", CFG.Phone);
|
||||||
if (strlen(CFG.comment))
|
if (strlen(CFG.comment))
|
||||||
|
@ -88,11 +88,11 @@ void ScanMail(int DoAll)
|
|||||||
} else {
|
} else {
|
||||||
scanned = 0;
|
scanned = 0;
|
||||||
Fname = calloc(PATH_MAX, sizeof(char));
|
Fname = calloc(PATH_MAX, sizeof(char));
|
||||||
temp = calloc(128, sizeof(char));
|
temp = calloc(PATH_MAX, sizeof(char));
|
||||||
|
|
||||||
sprintf(Fname, "%s/tmp/echomail.jam", getenv("MBSE_ROOT"));
|
sprintf(Fname, "%s/tmp/echomail.jam", getenv("MBSE_ROOT"));
|
||||||
if ((fp = fopen(Fname, "r")) != NULL) {
|
if ((fp = fopen(Fname, "r")) != NULL) {
|
||||||
while ((fgets(temp, 128, fp)) != NULL) {
|
while ((fgets(temp, PATH_MAX - 1, fp)) != NULL) {
|
||||||
path = strtok(temp, " ");
|
path = strtok(temp, " ");
|
||||||
msg = atol(strtok(NULL, "\n"));
|
msg = atol(strtok(NULL, "\n"));
|
||||||
Syslog('+', "Export message %lu from %s", msg, path);
|
Syslog('+', "Export message %lu from %s", msg, path);
|
||||||
@ -106,7 +106,7 @@ void ScanMail(int DoAll)
|
|||||||
|
|
||||||
sprintf(Fname, "%s/tmp/netmail.jam", getenv("MBSE_ROOT"));
|
sprintf(Fname, "%s/tmp/netmail.jam", getenv("MBSE_ROOT"));
|
||||||
if ((fp = fopen(Fname, "r")) != NULL) {
|
if ((fp = fopen(Fname, "r")) != NULL) {
|
||||||
while ((fgets(temp, 128, fp)) != NULL) {
|
while ((fgets(temp, PATH_MAX - 1, fp)) != NULL) {
|
||||||
path = strtok(temp, " ");
|
path = strtok(temp, " ");
|
||||||
msg = atol(strtok(NULL, "\n"));
|
msg = atol(strtok(NULL, "\n"));
|
||||||
Syslog('+', "Export message %lu from %s", msg, path);
|
Syslog('+', "Export message %lu from %s", msg, path);
|
||||||
|
@ -1097,15 +1097,16 @@ char *PickTicarea(char *shdr)
|
|||||||
|
|
||||||
clr_index();
|
clr_index();
|
||||||
working(1, 0, 0);
|
working(1, 0, 0);
|
||||||
|
memset(&Buf, 0, sizeof(Buf));
|
||||||
if (config_read() == -1) {
|
if (config_read() == -1) {
|
||||||
working(2, 0, 0);
|
working(2, 0, 0);
|
||||||
return '\0';
|
return Buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
records = CountTicarea();
|
records = CountTicarea();
|
||||||
if (records == -1) {
|
if (records == -1) {
|
||||||
working(2, 0, 0);
|
working(2, 0, 0);
|
||||||
return '\0';
|
return Buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
working(0, 0, 0);
|
working(0, 0, 0);
|
||||||
@ -1146,7 +1147,7 @@ char *PickTicarea(char *shdr)
|
|||||||
strcpy(pick, select_pick(records, 10));
|
strcpy(pick, select_pick(records, 10));
|
||||||
|
|
||||||
if (strncmp(pick, "-", 1) == 0)
|
if (strncmp(pick, "-", 1) == 0)
|
||||||
return '\0';
|
return Buf;
|
||||||
|
|
||||||
if (strncmp(pick, "N", 1) == 0)
|
if (strncmp(pick, "N", 1) == 0)
|
||||||
if ((o + 10) < records)
|
if ((o + 10) < records)
|
||||||
|
Reference in New Issue
Block a user