diff options
Diffstat (limited to 'Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h')
| -rw-r--r-- | Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h b/Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h index b55447a..6416d69 100644 --- a/Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h +++ b/Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2016 Isode Limited. | 2 | * Copyright (c) 2010-2018 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -16,11 +16,11 @@ namespace Swift { | |||
| 16 | class DNSSDResolveServiceQuery { | 16 | class DNSSDResolveServiceQuery { |
| 17 | public: | 17 | public: |
| 18 | struct Result { | 18 | struct Result { |
| 19 | Result(const std::string& fullName, const std::string& host, int port, const ByteArray& info) : | 19 | Result(const std::string& fullName, const std::string& host, unsigned short port, const ByteArray& info) : |
| 20 | fullName(fullName), host(host), port(port), info(info) {} | 20 | fullName(fullName), host(host), port(port), info(info) {} |
| 21 | std::string fullName; | 21 | std::string fullName; |
| 22 | std::string host; | 22 | std::string host; |
| 23 | int port; | 23 | unsigned short port; |
| 24 | ByteArray info; | 24 | ByteArray info; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
Swift