summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
committerAlan Conway <aconway@apache.org>2007-03-15 19:22:02 +0000
commit6bc8ab8e4b209b841969544fc735361335040906 (patch)
tree90b8a4b3f0ec4fdf2c3a0ac02b27768b953a3be1 /cpp/lib/broker/Connection.cpp
parentf92c42ffe7662d1d0e2863c6e143567b25ae2024 (diff)
downloadqpid-python-6bc8ab8e4b209b841969544fc735361335040906.tar.gz
Changed u_int<n>_t to uint<n>_t for posix compliance.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/Connection.cpp')
-rw-r--r--cpp/lib/broker/Connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/broker/Connection.cpp b/cpp/lib/broker/Connection.cpp
index 3d9e5cdaf8..ae0114cba9 100644
--- a/cpp/lib/broker/Connection.cpp
+++ b/cpp/lib/broker/Connection.cpp
@@ -45,7 +45,7 @@ Connection::Connection(ConnectionOutputHandler* out_, Broker& broker_) :
{}
-Queue::shared_ptr Connection::getQueue(const string& name, u_int16_t channel){
+Queue::shared_ptr Connection::getQueue(const string& name, uint16_t channel){
Queue::shared_ptr queue;
if (name.empty()) {
queue = getChannel(channel).getDefaultQueue();
@@ -105,7 +105,7 @@ void Connection::closed(){
}
}
-void Connection::closeChannel(u_int16_t id) {
+void Connection::closeChannel(uint16_t id) {
ChannelMap::iterator i = channels.find(id);
if (i != channels.end())
i->close();