diff options
author | Slávek Banko <[email protected]> | 2013-02-16 14:39:29 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-02-16 14:39:29 +0100 |
commit | 0915425a0d3806acee67389d077703ab5eab3806 (patch) | |
tree | 693cc002e0a2d7aba296c57729679adbabbd2570 /twin/utils.cpp | |
parent | 40819648d406958bbfa0eae167848bb5e02edd23 (diff) | |
download | tdebase-0915425a0d3806acee67389d077703ab5eab3806.tar.gz tdebase-0915425a0d3806acee67389d077703ab5eab3806.zip |
Fix processing of local names in KWinInternal::isLocalMachine
Diffstat (limited to 'twin/utils.cpp')
-rw-r--r-- | twin/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/utils.cpp b/twin/utils.cpp index 47c09b0e5..ddd5a3387 100644 --- a/twin/utils.cpp +++ b/twin/utils.cpp @@ -339,8 +339,8 @@ bool isLocalMachine( const TQCString& host ) return false; for(addr = res; !is_local && addr; addr = addr->ai_next) { - if( res->ai_canonname && - host == TQCString( res->ai_canonname )) + if( addr->ai_canonname && + host == TQCString( addr->ai_canonname )) is_local = true; } freeaddrinfo(res); |