Skip to content

Commit 87f6482

Browse files
committed
Update request.hpp
1 parent 63b3b7b commit 87f6482

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

boost/network/protocol/http/impl/request.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ template <class Tag>
5555
struct basic_request : public basic_message<Tag> {
5656

5757
mutable boost::network::uri::uri uri_;
58-
unsigned short source_port_;
58+
boost::uint16_t source_port_;
5959
typedef basic_message<Tag> base_type;
6060

6161
public:
@@ -113,9 +113,9 @@ struct basic_request : public basic_message<Tag> {
113113

114114
boost::network::uri::uri const& uri() const { return uri_; }
115115

116-
void source_port(const unsigned short port) { source_port_ = port; }
116+
void source_port(const boost::uint16_t port) { source_port_ = port; }
117117

118-
unsigned short source_port() const { return source_port_; }
118+
boost::uint16_t source_port() const { return source_port_; }
119119
};
120120

121121
/** This is the implementation of a POD request type

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy