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
|
||||
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
|
||||
|
||||
|
2
TODO
2
TODO
@ -97,6 +97,8 @@ mbfido:
|
||||
|
||||
N: Send notifications to downlinks about changed areas from uplink.
|
||||
|
||||
N: Better areamgr message split.
|
||||
|
||||
mbcico:
|
||||
N: Implement MD5 crypt in binkp protocol driver.
|
||||
|
||||
|
@ -1018,6 +1018,13 @@ void OLR_Upload(void)
|
||||
struct stat statbuf;
|
||||
FILE *fp;
|
||||
|
||||
if (strlen(CFG.bbsid) == 0) {
|
||||
printf("System configuration error, inform sysop\n");
|
||||
WriteError("Config OLR bbsid not configured");
|
||||
Pause();
|
||||
return;
|
||||
}
|
||||
|
||||
WhosDoingWhat(OLR);
|
||||
clear();
|
||||
colour(13, 0);
|
||||
@ -1324,6 +1331,13 @@ void OLR_DownBW()
|
||||
unsigned long Start, High;
|
||||
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())
|
||||
return;
|
||||
|
||||
@ -2204,6 +2218,13 @@ void OLR_DownQWK(void)
|
||||
unsigned long Start, High;
|
||||
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())
|
||||
return;
|
||||
|
||||
@ -2892,14 +2913,20 @@ void OLR_DownASCII(void)
|
||||
{
|
||||
struct tm *tp;
|
||||
time_t Now;
|
||||
char Pktname[32];
|
||||
char Pktname[32], *Work, *Temp;
|
||||
long Area = 0;
|
||||
char *Work, *Temp;
|
||||
int rc = 0;
|
||||
FILE *fp = NULL, *tf, *mf, *af;
|
||||
unsigned long Start, High;
|
||||
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())
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user