Can exclude cfg and mb formats at compiletime. Fixed msg-forward.

This commit is contained in:
Jacobo Tarrío
2000-08-23 19:24:19 +00:00
parent b2953adfd0
commit 2fa38e497b
51 changed files with 235 additions and 10 deletions

View File

@@ -256,7 +256,7 @@ void EzycomExit() {
void EzycomInit(const char* msgbasepath, const char* userbasepath, int userno) {
ezycomdata = (EzycData*)throw_calloc(2, sizeof(EzycData));
ezycomdata = (EzycData*)throw_calloc(3, sizeof(EzycData));
ezycomwide = (EzycWide*)throw_calloc(1, sizeof(EzycWide));
ezycomwide->msgbasepath = msgbasepath;

View File

@@ -123,7 +123,7 @@ void FidoExit() {
void FidoInit(const char* fidolastread, int fidohwmarks, int fidonullfix, int fidouserno, const char* squishuserpath) {
fidodata = (FidoData*)throw_calloc(2, sizeof(FidoData));
fidodata = (FidoData*)throw_calloc(3, sizeof(FidoData));
fidowide = (FidoWide*)throw_calloc(1, sizeof(FidoWide));
fidowide->fidolastread = fidolastread;

View File

@@ -58,7 +58,7 @@ void JamInit(const char* jampath, int harddelete) {
GFTRK("JamInit");
jamdata = (JamData*)throw_calloc(2, sizeof(JamData));
jamdata = (JamData*)throw_calloc(3, sizeof(JamData));
jamwide = (JamWide*)throw_calloc(1, sizeof(JamWide));
jamwide->jampath = jampath;

View File

@@ -57,7 +57,7 @@ void PcbExit() {
void PcbInit(const char* path, int userno) {
pcbdata = (PcbData*)throw_calloc(2, sizeof(PcbData));
pcbdata = (PcbData*)throw_calloc(3, sizeof(PcbData));
pcbwide = (PcbWide*)throw_calloc(1, sizeof(PcbWide));
pcbwide->path = path;

View File

@@ -52,7 +52,7 @@ void SMBExit() {
void SMBInit() {
smbdata = (SMBData*)throw_calloc(2, sizeof(SMBData));
smbdata = (SMBData*)throw_calloc(3, sizeof(SMBData));
}

View File

@@ -74,7 +74,7 @@ void SquishExit() {
void SquishInit(const char* userpath, int userno, int direct, int recycle, int squishscan) {
squishdata = (SqshData*)throw_calloc(2, sizeof(SqshData));
squishdata = (SqshData*)throw_calloc(3, sizeof(SqshData));
squishwide = (SqshWide*)throw_calloc(1, sizeof(SqshWide));
squishwide->userpath = userpath;

View File

@@ -131,7 +131,7 @@ void WCatExit() {
void WCatInit(int userno) {
wcatdata = (WCatData*)throw_calloc(2, sizeof(WCatData));
wcatdata = (WCatData*)throw_calloc(3, sizeof(WCatData));
wcatwide = (WCatWide*)throw_calloc(1, sizeof(WCatWide));
wcatwide->userno = userno;

View File

@@ -150,7 +150,7 @@ void XbbsExit() {
void XbbsInit(const char* path, int userno) {
xbbsdata = (XbbsData*)throw_calloc(2, sizeof(XbbsData));
xbbsdata = (XbbsData*)throw_calloc(3, sizeof(XbbsData));
xbbswide = (XbbsWide*)throw_calloc(1, sizeof(XbbsWide));
xbbswide->path = path;