From: Michal 'vorner' Vaner Date: Tue, 23 Jul 2013 07:08:29 +0000 (+0200) Subject: [2862] Minor: rename variable X-Git-Tag: bind10-1.2.0beta1-release~317^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b05bfd741c5b4ec90ada47017af8a299f8a8b4d6;p=thirdparty%2Fkea.git [2862] Minor: rename variable Rename readers_subscribed_ to readers_group_subscribed_. --- diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc index 9f14ac1c27..f059bd85ba 100644 --- a/src/bin/auth/auth_srv.cc +++ b/src/bin/auth/auth_srv.cc @@ -307,7 +307,7 @@ public: const bool done); /// Are we currently subscribed to the SegmentReader group? - bool readers_subscribed_; + bool readers_group_subscribed_; private: bool xfrout_connected_; AbstractXfroutClient& xfrout_client_; @@ -324,7 +324,7 @@ AuthSrvImpl::AuthSrvImpl(AbstractXfroutClient& xfrout_client, datasrc_clients_mgr_(io_service_), ddns_base_forwarder_(ddns_forwarder), ddns_forwarder_(NULL), - readers_subscribed_(false), + readers_group_subscribed_(false), xfrout_connected_(false), xfrout_client_(xfrout_client) {} @@ -970,18 +970,18 @@ hasRemoteSegment(auth::DataSrcClientsMgr& mgr) { void AuthSrv::listsReconfigured() { const bool has_remote = hasRemoteSegment(impl_->datasrc_clients_mgr_); - if (has_remote && !impl_->readers_subscribed_) { + if (has_remote && !impl_->readers_group_subscribed_) { impl_->config_session_->subscribe("SegmentReader"); impl_->config_session_-> setUnhandledCallback(boost::bind(&AuthSrv::foreignCommand, this, _1, _2, _3)); - impl_->readers_subscribed_ = true; - } else if (!has_remote && impl_->readers_subscribed_) { + impl_->readers_group_subscribed_ = true; + } else if (!has_remote && impl_->readers_group_subscribed_) { impl_->config_session_->unsubscribe("SegmentReader"); impl_->config_session_-> setUnhandledCallback(isc::config::ModuleCCSession:: UnhandledCallback()); - impl_->readers_subscribed_ = false; + impl_->readers_group_subscribed_ = false; } }