mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
QW IPv6: lose a pointless assign
We already assign a->family earlier, no need to do it again.
This commit is contained in:
parent
a56f6b2e37
commit
d2fa1e2479
1 changed files with 0 additions and 1 deletions
|
@ -185,7 +185,6 @@ SockadrToNetadr (AF_address_t *s, netadr_t *a)
|
|||
}
|
||||
case AF_INET6: {
|
||||
memcpy (a->ip, &(s->s6.sin6_addr), sizeof (s->s6.sin6_addr));
|
||||
a->family = AF_INET6;
|
||||
a->port = s->s6.sin6_port;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue