]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
Fix a few compile warnings from clang
[xonotic/darkplaces.git] / host_cmd.c
index a944a23074ef5b66e4da06d5180115563aa16ac8..280ce6a6f1c79e6dae8a8a9e3c0f51be45047190 100644 (file)
@@ -151,7 +151,7 @@ static void Host_Status_f(cmd_state_t *cmd)
                if(sv_status_privacy.integer && cmd->source != src_command)
                        strlcpy(ip, client->netconnection ? "hidden" : "botclient", 48);
                else
-                       strlcpy(ip, (client->netconnection && client->netconnection->address) ? client->netconnection->address : "botclient", 48);
+                       strlcpy(ip, (client->netconnection && *client->netconnection->address) ? client->netconnection->address : "botclient", 48);
 
                frags = client->frags;