Added some additional logging

This commit is contained in:
Andrew Pamment 2018-02-07 17:27:50 +10:00
parent 1b3c2e369a
commit 686aee7226
2 changed files with 3 additions and 1 deletions

View File

@ -811,7 +811,7 @@ void runbbs_real(int socket, char *ip, int ssh) {
exit(1);
}
dolog("Incoming connection on node %d", mynode);
dolog("Incoming %s connection on node %d", (ssh ? "SSH" : "Telnet"), mynode);
usertimeout = 10;
timeoutpaused = 0;

View File

@ -88,6 +88,8 @@ int menu_system(char *menufile) {
int clearscreen = 0;
char confirm;
dolog("%s is loading menu: %s", gUser->loginname, menufile);
if (menufile[0] == '/') {
snprintf(buffer, PATH_MAX, "%s.mnu", menufile);
} else {