From: JINMEI Tatuya Date: Mon, 26 Mar 2012 22:17:11 +0000 (-0700) Subject: [1627] fixed some style issues: untabify, position of '*', fold long lines. X-Git-Tag: trac2351_base~226^2~116^2~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae9eae29057da3aa8c585b86b662967801ed8bb2;p=thirdparty%2Fkea.git [1627] fixed some style issues: untabify, position of '*', fold long lines. --- diff --git a/src/bin/auth/auth_config.cc b/src/bin/auth/auth_config.cc index 5e808c79a4..c6d8ecfa09 100644 --- a/src/bin/auth/auth_config.cc +++ b/src/bin/auth/auth_config.cc @@ -164,15 +164,16 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) { << origin->str()); } - InMemoryZoneFinder *imzf = NULL; - try { - imzf = new InMemoryZoneFinder(rrclass_, Name(origin->stringValue())); - } catch (const isc::dns::NameParserException& ex) { - isc_throw(AuthConfigError, "unable to parse zone's origin: " << - ex.what()); - } - - boost::shared_ptr zone_finder(imzf); + InMemoryZoneFinder* imzf = NULL; + try { + imzf = new InMemoryZoneFinder(rrclass_, + Name(origin->stringValue())); + } catch (const isc::dns::NameParserException& ex) { + isc_throw(AuthConfigError, "unable to parse zone's origin: " << + ex.what()); + } + + boost::shared_ptr zone_finder(imzf); const result::Result result = memory_client_->addZone(zone_finder); if (result == result::EXIST) { isc_throw(AuthConfigError, "zone "<< origin->str()