]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1627] fixed some style issues: untabify, position of '*', fold long lines.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 26 Mar 2012 22:17:11 +0000 (15:17 -0700)
committerMukund Sivaraman <muks@isc.org>
Fri, 30 Mar 2012 09:13:29 +0000 (14:43 +0530)
src/bin/auth/auth_config.cc

index 5e808c79a4627c0af0fbba488b7972022a91c682..c6d8ecfa09572d333092bdfe5bd764f1b4a0c947 100644 (file)
@@ -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<InMemoryZoneFinder> 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<InMemoryZoneFinder> zone_finder(imzf);
         const result::Result result = memory_client_->addZone(zone_finder);
         if (result == result::EXIST) {
             isc_throw(AuthConfigError, "zone "<< origin->str()