diff options
author | marha <marha@users.sourceforge.net> | 2011-02-14 16:34:29 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-14 16:34:29 +0000 |
commit | ed5dd0a1f9eea43219b4c678ec062f614413eea2 (patch) | |
tree | c8bf51059a44cebf7ed1fdb3a924af23648998e7 /xorg-server/os/xdmcp.c | |
parent | bfd1e09d9d6cdedf67074aa14dd927655ee78753 (diff) | |
download | vcxsrv-ed5dd0a1f9eea43219b4c678ec062f614413eea2.tar.gz vcxsrv-ed5dd0a1f9eea43219b4c678ec062f614413eea2.tar.bz2 vcxsrv-ed5dd0a1f9eea43219b4c678ec062f614413eea2.zip |
When XDMCP -from is specified, only register the requested address
Diffstat (limited to 'xorg-server/os/xdmcp.c')
-rw-r--r-- | xorg-server/os/xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/os/xdmcp.c b/xorg-server/os/xdmcp.c index 83e391319..582a0bd97 100644 --- a/xorg-server/os/xdmcp.c +++ b/xorg-server/os/xdmcp.c @@ -491,7 +491,7 @@ XdmcpRegisterConnection ( }
}
#endif
- if (fromAddr && memcmp(regAddr, fromAddr, regAddrlen) != 0) {
+ if (!fromAddr || memcmp(regAddr, fromAddr, regAddrlen) != 0) {
return;
}
}
|