Transport::getRemoteAddress() return reference
make it clear that result is always !NULL
This commit is contained in:
@ -355,8 +355,8 @@ public:
|
||||
return std::string("TCP");
|
||||
}
|
||||
|
||||
const osiSockAddr* getRemoteAddress() const {
|
||||
return &dummyAddr;
|
||||
const osiSockAddr& getRemoteAddress() const {
|
||||
return dummyAddr;
|
||||
}
|
||||
std::string dummyRemoteName;
|
||||
const std::string& getRemoteName() const {
|
||||
|
Reference in New Issue
Block a user