diff options
Diffstat (limited to 'src/rexmpp_tcp.h')
-rw-r--r-- | src/rexmpp_tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rexmpp_tcp.h b/src/rexmpp_tcp.h index 124da2a..e4a6dff 100644 --- a/src/rexmpp_tcp.h +++ b/src/rexmpp_tcp.h @@ -66,7 +66,7 @@ struct rexmpp_tcp_connection { /** @brief A host we are connecting to. */ const char *host; /** @brief A port we are connecting to. */ - int port; + uint16_t port; /** @brief Resolver channel. */ ares_channel resolver_channel; @@ -116,7 +116,7 @@ struct rexmpp_tcp_connection { rexmpp_tcp_conn_error_t rexmpp_tcp_conn_init (rexmpp_tcp_conn_t *conn, const char *host, - int port); + uint16_t port); /** @brief Continues a connection process. |