From 686aee722612e655e616df79a06cd3d4d25f8b40 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 7 Feb 2018 17:27:50 +1000 Subject: [PATCH] Added some additional logging --- src/bbs.c | 2 +- src/menus.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bbs.c b/src/bbs.c index e99da85..8eca852 100644 --- a/src/bbs.c +++ b/src/bbs.c @@ -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; diff --git a/src/menus.c b/src/menus.c index 1fac33b..f2ba1d9 100644 --- a/src/menus.c +++ b/src/menus.c @@ -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 {