display port in connect message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3810 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-12-01 17:28:54 +00:00
parent 07d379b6c6
commit be44f62427
+1 -1
View File
@@ -78,7 +78,7 @@ void connectserv_(const char *servername, const char *serverport = NULL, const c
if(servername)
{
addserver(servername, serverport);
conoutf("attempting to connect to %s", servername);
conoutf("attempting to connect to %s%c%s", servername, address.port != CUBE_DEFAULT_SERVER_PORT ? ':' : 0, serverport);
if(!resolverwait(servername, &address))
{
conoutf("\f3could not resolve server %s", servername);