Can exclude cfg and mb formats at compiletime. Fixed msg-forward.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -52,7 +52,7 @@ void SMBExit() {
|
||||
|
||||
void SMBInit() {
|
||||
|
||||
smbdata = (SMBData*)throw_calloc(2, sizeof(SMBData));
|
||||
smbdata = (SMBData*)throw_calloc(3, sizeof(SMBData));
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user