From 04799f628d30b0ae08d5060ed2f23d1b55add3e3 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sat, 22 Aug 2015 10:48:32 +0000 Subject: [PATCH] Remove the now-inaccurate "on port %hu" bit of the "XXX Server listening" log entries. --- src/sbbs3/mailsrvr.c | 3 +-- src/sbbs3/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/sbbs3/mailsrvr.c b/src/sbbs3/mailsrvr.c index 5fae427369..1b548cc4f3 100644 --- a/src/sbbs3/mailsrvr.c +++ b/src/sbbs3/mailsrvr.c @@ -5197,8 +5197,7 @@ void DLLCALL mail_server(void* arg) if(startup->options&MAIL_OPT_USE_SUBMISSION_PORT) { if(xpms_add_list(mail_set, PF_UNSPEC, SOCK_STREAM, 0, startup->interfaces, startup->submission_port, "SMTP Submission Agent", mail_open_socket, startup->seteuid, "submission")) - lprintf(LOG_INFO,"SUBMISSION Server listening on port %u" - ,startup->submission_port); + lprintf(LOG_INFO,"SUBMISSION Server listening"); } if(startup->options&MAIL_OPT_ALLOW_POP3) { diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index ff178c6bbe..26f33ca029 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -4702,14 +4702,14 @@ void DLLCALL bbs_thread(void* arg) */ xpms_add_list(ts_set, PF_UNSPEC, SOCK_STREAM, 0, startup->telnet_interfaces, startup->telnet_port, "Telnet Server", sock_cb, startup->seteuid, &telnet_cb); - lprintf(LOG_INFO,"Telnet Server listening on port %u",startup->telnet_port); + lprintf(LOG_INFO,"Telnet Server listening"); if(startup->options&BBS_OPT_ALLOW_RLOGIN) { /* open a socket and wait for a client */ rlogin_cb.protocol="rlogin"; rlogin_cb.startup=startup; xpms_add_list(ts_set, PF_UNSPEC, SOCK_STREAM, 0, startup->rlogin_interfaces, startup->rlogin_port, "RLogin Server", sock_cb, startup->seteuid, &rlogin_cb); - lprintf(LOG_INFO,"RLogin Server listening on port %u",startup->rlogin_port); + lprintf(LOG_INFO,"RLogin Server listening"); } #ifdef USE_CRYPTLIB @@ -4756,7 +4756,7 @@ void DLLCALL bbs_thread(void* arg) ssh_cb.protocol="ssh"; ssh_cb.startup=startup; xpms_add_list(ts_set, PF_UNSPEC, SOCK_STREAM, 0, startup->ssh_interfaces, startup->ssh_port, "SSH Server", sock_cb, startup->seteuid, &ssh_cb); - lprintf(LOG_INFO,"SSH Server listening on port %u",startup->ssh_port); + lprintf(LOG_INFO,"SSH Server listening"); } NO_SSH: #endif -- GitLab