Update greeting message in pvpgn_greeting()
This commit is contained in:
parent
09d012360b
commit
1e36d4995d
1 changed files with 9 additions and 9 deletions
|
@ -181,7 +181,7 @@ void post_server_shutdown(int status);
|
|||
int eventlog_startup(void);
|
||||
int fork_bnetd(int foreground);
|
||||
char * write_to_pidfile(void);
|
||||
void pvpgn_greeting(void);
|
||||
void pvpgn_greeting();
|
||||
|
||||
int eventlog_startup(void)
|
||||
{
|
||||
|
@ -485,10 +485,10 @@ void post_server_shutdown(int status)
|
|||
return;
|
||||
}
|
||||
|
||||
void pvpgn_greeting(void)
|
||||
void pvpgn_greeting()
|
||||
{
|
||||
#ifdef HAVE_GETPID
|
||||
eventlog(eventlog_level_info, __FUNCTION__, PVPGN_SOFTWARE" version " PVPGN_VERSION " process %u", (unsigned int)getpid());
|
||||
eventlog(eventlog_level_info, __FUNCTION__, PVPGN_SOFTWARE " " PVPGN_VERSION " process %d", static_cast<int>(getpid()));
|
||||
#else
|
||||
eventlog(eventlog_level_info, __FUNCTION__, PVPGN_SOFTWARE" version "PVPGN_VERSION);
|
||||
#endif
|
||||
|
@ -498,15 +498,15 @@ void pvpgn_greeting(void)
|
|||
{
|
||||
eventlog(eventlog_level_info, __FUNCTION__, "running on %s (%s %s, %s)", utsbuf.sysname, utsbuf.version, utsbuf.release, utsbuf.machine);
|
||||
}
|
||||
else
|
||||
{
|
||||
eventlog(eventlog_level_info, __FUNCTION__, "uname() failed");
|
||||
}
|
||||
|
||||
printf("You are currently Running " PVPGN_SOFTWARE " " PVPGN_VERSION "\n");
|
||||
printf("You are currently running " PVPGN_SOFTWARE " " PVPGN_VERSION "\n");
|
||||
printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n");
|
||||
printf("If you need support:\n");
|
||||
printf(" * READ the documentation at http://pvpgndocs.berlios.de/\n");
|
||||
printf(" * you can subscribe to the pvpgn-users mailing list at \n");
|
||||
printf(" https://lists.berlios.de/mailman/listinfo/pvpgn-users\n");
|
||||
printf(" * check out the forums at http://forums.pvpgn.org\n");
|
||||
printf(" * visit us on IRC on irc.pvpgn.org channel #pvpgn\n");
|
||||
printf(" * Create an issue at https://github.com/pvpgn/pvpgn-server\n");
|
||||
printf("\nServer is now running.\n");
|
||||
printf("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue