(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
authordominik
Wed, 05 Jan 2005 09:59:45 +0000
changeset 895 4d8e39aba340
parent 894 8b59c639837d
child 896 2e2a86b6c998
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
network.c
--- a/network.c	Tue Jan 04 21:45:38 2005 +0000
+++ b/network.c	Wed Jan 05 09:59:45 2005 +0000
@@ -878,7 +878,7 @@
 	NetworkGameList *item = _network_game_list;
 	while (item != NULL && i != lengthof(_network_host_list)) {
 		if (item->manually)
-			_network_host_list[i++] = strdup(item->info.hostname);
+			_network_host_list[i++] = str_fmt("%s:%i", item->info.hostname, item->port);
 		item = item->next;
 	}