mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-09 01:50:17 +01:00
revert last change
This commit is contained in:
parent
ad1e037b28
commit
4ede899866
1 changed files with 1 additions and 7 deletions
|
|
@ -1558,13 +1558,7 @@ get_addr_by_name(
|
|||
memmove(&addr->sin_addr, hep->h_addr, hep->h_length);
|
||||
*addrlen = sizeof(struct sockaddr_in);
|
||||
addr->sin_family = AF_INET;
|
||||
if (argtype && (strcmp(argtype, "-from") == 0))
|
||||
{
|
||||
addr->sin_port = 0;
|
||||
} else
|
||||
{
|
||||
addr->sin_port = htons (xdm_udp_port);
|
||||
}
|
||||
addr->sin_port = htons (xdm_udp_port);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue