X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Forigin.cpp;h=ac2da4447b440764d5c09671651f8e94042bd3ce;hb=4cd9e521c5e96e3fcc5dcec6192571b54a1351c4;hp=28c809c5a6d375f93887995f9568a19ae30bc124;hpb=fa00fb98e9c388425c63d64c1684fcda311a5ca6;p=metaproxy-moved-to-github.git diff --git a/src/origin.cpp b/src/origin.cpp index 28c809c..ac2da44 100644 --- a/src/origin.cpp +++ b/src/origin.cpp @@ -67,6 +67,11 @@ void mp::Origin::set_tcpip_address(std::string addr, unsigned long s) m_origin_id = s; } +std::string mp::Origin::get_address() +{ + return m_address; +} + std::ostream& std::operator<<(std::ostream& os, mp::Origin& o) { if (o.m_address != "")