Fixes for the OLR
This commit is contained in:
parent
adb045002a
commit
078a4e9d08
@ -43,6 +43,10 @@ v0.37.01 14-Jan-2003.
|
|||||||
When moving a message area to area zero mbsetup doesn't crash
|
When moving a message area to area zero mbsetup doesn't crash
|
||||||
anymore.
|
anymore.
|
||||||
|
|
||||||
|
mbsebbs:
|
||||||
|
It will now refuse to up/download OLR packets when the system
|
||||||
|
bbs id is not set in the global setup.
|
||||||
|
|
||||||
|
|
||||||
v0.37.00 26-Dec-2002 - 14-Jan-2003
|
v0.37.00 26-Dec-2002 - 14-Jan-2003
|
||||||
|
|
||||||
|
2
TODO
2
TODO
@ -97,6 +97,8 @@ mbfido:
|
|||||||
|
|
||||||
N: Send notifications to downlinks about changed areas from uplink.
|
N: Send notifications to downlinks about changed areas from uplink.
|
||||||
|
|
||||||
|
N: Better areamgr message split.
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
N: Implement MD5 crypt in binkp protocol driver.
|
N: Implement MD5 crypt in binkp protocol driver.
|
||||||
|
|
||||||
|
@ -1018,6 +1018,13 @@ void OLR_Upload(void)
|
|||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
|
if (strlen(CFG.bbsid) == 0) {
|
||||||
|
printf("System configuration error, inform sysop\n");
|
||||||
|
WriteError("Config OLR bbsid not configured");
|
||||||
|
Pause();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
WhosDoingWhat(OLR);
|
WhosDoingWhat(OLR);
|
||||||
clear();
|
clear();
|
||||||
colour(13, 0);
|
colour(13, 0);
|
||||||
@ -1324,6 +1331,13 @@ void OLR_DownBW()
|
|||||||
unsigned long Start, High;
|
unsigned long Start, High;
|
||||||
msg_high *mhl = NULL;
|
msg_high *mhl = NULL;
|
||||||
|
|
||||||
|
if (strlen(CFG.bbsid) == 0) {
|
||||||
|
printf("System configuration error, inform sysop\n");
|
||||||
|
WriteError("Config OLR bbsid not configured");
|
||||||
|
Pause();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!OLR_Prescan())
|
if (!OLR_Prescan())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -2204,6 +2218,13 @@ void OLR_DownQWK(void)
|
|||||||
unsigned long Start, High;
|
unsigned long Start, High;
|
||||||
msg_high *tmp, *mhl = NULL;
|
msg_high *tmp, *mhl = NULL;
|
||||||
|
|
||||||
|
if (strlen(CFG.bbsid) == 0) {
|
||||||
|
printf("System configuration error, inform sysop\n");
|
||||||
|
WriteError("Config OLR bbsid not configured");
|
||||||
|
Pause();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!OLR_Prescan())
|
if (!OLR_Prescan())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -2892,14 +2913,20 @@ void OLR_DownASCII(void)
|
|||||||
{
|
{
|
||||||
struct tm *tp;
|
struct tm *tp;
|
||||||
time_t Now;
|
time_t Now;
|
||||||
char Pktname[32];
|
char Pktname[32], *Work, *Temp;
|
||||||
long Area = 0;
|
long Area = 0;
|
||||||
char *Work, *Temp;
|
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
FILE *fp = NULL, *tf, *mf, *af;
|
FILE *fp = NULL, *tf, *mf, *af;
|
||||||
unsigned long Start, High;
|
unsigned long Start, High;
|
||||||
msg_high *tmp, *mhl = NULL;
|
msg_high *tmp, *mhl = NULL;
|
||||||
|
|
||||||
|
if (strlen(CFG.bbsid) == 0) {
|
||||||
|
printf("System configuration error, inform sysop\n");
|
||||||
|
WriteError("Config OLR bbsid not configured");
|
||||||
|
Pause();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!OLR_Prescan())
|
if (!OLR_Prescan())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user