qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r603344 - in /incubator/qpid/trunk/qpid/cpp/src/qpid/broker: Broker.cpp Broker.h
Date Tue, 11 Dec 2007 19:52:47 GMT
Author: aconway
Date: Tue Dec 11 11:52:42 2007
New Revision: 603344

URL: http://svn.apache.org/viewvc?rev=603344&view=rev
Log:
Change Broker::getPort() return type to uint16_t (was int16_t)

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.h

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp?rev=603344&r1=603343&r2=603344&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp Tue Dec 11 11:52:42 2007
@@ -238,7 +238,7 @@
     shutdown();
 }
 
-int16_t Broker::getPort() const  { return getAcceptor().getPort(); }
+uint16_t Broker::getPort() const  { return getAcceptor().getPort(); }
 
 std::string Broker::getUrl() const {
     return Url(TcpAddress(getAcceptor().getHost(), getPort())).str();

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.h?rev=603344&r1=603343&r2=603344&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.h Tue Dec 11 11:52:42 2007
@@ -90,7 +90,7 @@
      * port, which will be different if the configured port is
      * 0.
      */
-    virtual int16_t getPort() const;
+    virtual uint16_t getPort() const;
 
     /** Return the broker's URL. */
     virtual std::string getUrl() const;



Mime
View raw message