summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 5eefb850d..156859a40 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -653,7 +653,7 @@ void NetworkRebuildHostList()
_network_host_list.Clear();
for (NetworkGameList *item = _network_game_list; item != NULL; item = item->next) {
- if (item->manually) *_network_host_list.Append() = strdup(item->address.GetAddressAsString(false));
+ if (item->manually) *_network_host_list.Append() = stredup(item->address.GetAddressAsString(false));
}
}