Browse Source

[1627] fixed some style issues: untabify, position of '*', fold long lines.

JINMEI Tatuya 13 years ago
parent
commit
ae9eae2905
1 changed files with 10 additions and 9 deletions
  1. 10 9
      src/bin/auth/auth_config.cc

+ 10 - 9
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<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()