diff options
| author | Fabio Alessandrelli | 2017-01-17 09:22:56 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2017-01-23 20:15:20 +0100 |
| commit | 98a7e2b4e09791705cd9dfd4d13611bc02fe47d4 (patch) | |
| tree | 71b2de60c2871bec73915dfb1e1036c172fbee78 /core/io/ip.cpp | |
| parent | e4b9b37ccf8495be674bc15cf0bf9d76fe94e6be (diff) | |
| download | godot-98a7e2b4e09791705cd9dfd4d13611bc02fe47d4.tar.gz godot-98a7e2b4e09791705cd9dfd4d13611bc02fe47d4.tar.zst godot-98a7e2b4e09791705cd9dfd4d13611bc02fe47d4.zip | |
Diffstat (limited to 'core/io/ip.cpp')
| -rw-r--r-- | core/io/ip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/ip.cpp b/core/io/ip.cpp index 0eb1f221c..13e5494dd 100644 --- a/core/io/ip.cpp +++ b/core/io/ip.cpp @@ -82,7 +82,7 @@ struct _IP_ResolverPrivate { continue; queue[i].response=IP::get_singleton()->resolve_hostname(queue[i].hostname, queue[i].type); - if (queue[i].response==IP_Address()) + if (!queue[i].response.is_valid()) queue[i].status=IP::RESOLVER_STATUS_ERROR; else queue[i].status=IP::RESOLVER_STATUS_DONE; |
