Improved error message when the chatserver is not configured in /etc/services

This commit is contained in:
Michiel Broek 2005-11-13 21:33:54 +00:00
parent 75b6e42acd
commit f39e1b10b5
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,11 @@ v0.83.1 12-Nov-2005
mbfido: mbfido:
Added some experimental code for tic orphans processing. Added some experimental code for tic orphans processing.
mbmon:
Improved error message when the chatserver is not configured
in /etc/services.
v0.83.0 06-Nov-2005 - 12-Nov-2005 v0.83.0 06-Nov-2005 - 12-Nov-2005
upgrade: upgrade:

View File

@ -566,7 +566,8 @@ void Chat(int sysop)
Syslog('-', "< %s", buf); Syslog('-', "< %s", buf);
if (strncmp(buf, "200:1,", 6) == 0) { if (strncmp(buf, "200:1,", 6) == 0) {
set_color(LIGHTRED, BLACK); set_color(LIGHTRED, BLACK);
mbse_mvprintw(4, 1, (char *)"The chatserver is not configured in /etc/services"); mbse_mvprintw(4, 1, (char *)"Add \"fido 60179/udp # Chatserver\" to /etc/services");
mbse_mvprintw(5, 1, (char *)"Leave mbmon, then restart mbtask and come back here");
working(2, 0, 0); working(2, 0, 0);
working(0, 0, 0); working(0, 0, 0);
center_addstr(rows -4, (char *)"Press any key"); center_addstr(rows -4, (char *)"Press any key");