astitcher commented on code in PR #370: URL: https://github.com/apache/qpid-proton/pull/370#discussion_r877036941
########## cpp/src/connection.cpp: ########## @@ -93,6 +93,12 @@ session_range connection::sessions() const { return session_range(session_iterator(make_wrapper(pn_session_head(pn_object(), 0)))); } +std::string connection::url() const { + connection_context& cc = connection_context::get(pn_object()); + if(!active()) throw proton::error("No active connection"); Review Comment: type: No space after 'if' -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org