Some warnings were mentioned Add a prototype ahead of the function Use a non-const copy of SERVER_ADMIN_MSG quick-tested by: - uncommenting the following in include/unixconf.h /* #define SERVER_ADMIN_MSG "adminmsg" */ - building NetHack - creating a test message: echo "server_admin: system is going down at 2 pm" >~/nh/install/games/lib/nethackdir/adminmsg - playtested and received the desired message
116 KiB
116 KiB