Mercurial > hg > openttd
changeset 895:8a11c59aec4f draft
(svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
author | dominik <dominik@openttd.org> |
---|---|
date | Wed, 05 Jan 2005 09:59:45 +0000 |
parents | 80d683e27190 |
children | 27c2fed3931b |
files | network.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/network.c +++ b/network.c @@ -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; }