summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/S5BProxyRequest.h')
-rw-r--r--Swiften/Elements/S5BProxyRequest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/S5BProxyRequest.h b/Swiften/Elements/S5BProxyRequest.h
index e3f5206..2fecae4 100644
--- a/Swiften/Elements/S5BProxyRequest.h
+++ b/Swiften/Elements/S5BProxyRequest.h
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2011 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
/*
- * Copyright (c) 2015-2016 Isode Limited.
+ * Copyright (c) 2015-2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <string>
#include <boost/optional.hpp>
@@ -24,19 +24,19 @@
namespace Swift {
class SWIFTEN_API S5BProxyRequest : public Payload {
public:
typedef std::shared_ptr<S5BProxyRequest> ref;
public:
struct StreamHost {
std::string host;
- int port;
+ unsigned short port;
JID jid;
};
public:
const boost::optional<StreamHost>& getStreamHost() const {
return streamHost;
}
void setStreamHost(const StreamHost& streamHost) {