diff options
author | Tobias Markmann <tm@ayena.de> | 2015-04-08 19:37:51 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2015-04-08 20:35:23 (GMT) |
commit | d321b10cb84b4ebb919b62de50c76aac6eb72a4d (patch) | |
tree | 384e57b0bd7c9834ac1c9d67f212a96614defe7c /Swift/QtUI/QtChatWindowFactory.cpp | |
parent | 9451f9218a04c27504895e2866454c508af118c6 (diff) | |
download | swift-d321b10cb84b4ebb919b62de50c76aac6eb72a4d.zip swift-d321b10cb84b4ebb919b62de50c76aac6eb72a4d.tar.bz2 |
Skip name lookup if manual hostname is a valid IP address
Removed dead debugging code and unnecessary includes as well.
Test-Information:
Tested with Swiften/QA/ClientTest, adjusted to have a manual hostname
set in the ClientOptions.
Tested on OS X 10.9.5, with NDK API level 14 on an emulated Android 4.0
ARM instance.
Without this patch the connector timed out during name lookup trying
to resolve the IP set in the ClientOptions::manualHostname. With this
patch it skips lookup and connects successfully.
Tested and verified unchanged behavior with this patch and without the
manual address override set.
Change-Id: I737327b2e66c9da78a1963e754bcf201b7d40626
Diffstat (limited to 'Swift/QtUI/QtChatWindowFactory.cpp')
0 files changed, 0 insertions, 0 deletions