Fix error handling in QHostInfo windows backend
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Fri, 17 Feb 2012 15:14:01 +0000 (15:14 +0000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 19:23:25 +0000 (20:23 +0100)
commit844b096d674c3b803923357502435ef89ce0c738
tree378f6c716f0397c1054a7b5e872ba6496fcc5ec4
parent400c865f2994e67189108e36cfa206c365d57274
Fix error handling in QHostInfo windows backend

If the DNS server returns a non authoritative host not found response,
then windows returns WSATRY_AGAIN error code.
This is now reported as HostNotFound and not UnknownError

Change-Id: I212985acd4e85ff4b2bdb6c57ec403405a7695fb
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/kernel/qhostinfo_win.cpp