Fixed compiler warnings while building the BBS. Thanks to Ken Bowley for the
patches.
This commit is contained in:
@@ -1042,7 +1042,7 @@ void Choose_Mailbox(char *Option)
|
||||
SetEmailArea((char *)"trash");
|
||||
else if (!strcmp(sMailbox, "trash"))
|
||||
SetEmailArea((char *)"archive");
|
||||
else if (!strcmp(sMailbox, "archive"));
|
||||
else if (!strcmp(sMailbox, "archive"))
|
||||
SetEmailArea((char *)"mailbox");
|
||||
}
|
||||
Syslog('+', "Emailarea: %s", sMailbox);
|
||||
|
@@ -328,7 +328,7 @@ void DoMenu(int Type)
|
||||
case 7:
|
||||
/* Run external program */
|
||||
if (strlen(menus.DoorName) && !menus.HideDoor) {
|
||||
memset(temp, 0, sizeof(temp));
|
||||
memset(temp, 0, sizeof(*temp));
|
||||
strcpy(temp, menus.DoorName);
|
||||
ExtDoor(menus.OptionalData, menus.NoDoorsys, menus.Y2Kdoorsys, menus.Comport,
|
||||
menus.NoSuid, menus.NoPrompt, menus.SingleUser, temp);
|
||||
|
Reference in New Issue
Block a user