about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/engine/client/ec_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index 7251c1d8..719d0f23 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -579,7 +579,7 @@ static void client_process_packet(NETPACKET *packet)
 				const char *tmp = (const char *)&addr.port;
 				addr.port = (tmp[1]<<8) | tmp[0];
 #endif
-				
+
 				info.latency = 999;
 				sprintf(info.address, "%d.%d.%d.%d:%d",
 					addr.ip[0], addr.ip[1], addr.ip[2],
@@ -588,7 +588,7 @@ static void client_process_packet(NETPACKET *packet)
 					addr.ip[0], addr.ip[1], addr.ip[2],
 					addr.ip[3], addr.port);
 				
-				client_serverbrowse_set(addrs+i, 1, &info);
+				client_serverbrowse_set(&addr, 1, &info);
 			}
 		}