mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[1627] fixed some style issues: untabify, position of '*', fold long lines.
This commit is contained in:
committed by
Mukund Sivaraman
parent
48cd72d455
commit
ae9eae2905
@@ -164,15 +164,16 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) {
|
|||||||
<< origin->str());
|
<< origin->str());
|
||||||
}
|
}
|
||||||
|
|
||||||
InMemoryZoneFinder *imzf = NULL;
|
InMemoryZoneFinder* imzf = NULL;
|
||||||
try {
|
try {
|
||||||
imzf = new InMemoryZoneFinder(rrclass_, Name(origin->stringValue()));
|
imzf = new InMemoryZoneFinder(rrclass_,
|
||||||
} catch (const isc::dns::NameParserException& ex) {
|
Name(origin->stringValue()));
|
||||||
isc_throw(AuthConfigError, "unable to parse zone's origin: " <<
|
} catch (const isc::dns::NameParserException& ex) {
|
||||||
ex.what());
|
isc_throw(AuthConfigError, "unable to parse zone's origin: " <<
|
||||||
}
|
ex.what());
|
||||||
|
}
|
||||||
|
|
||||||
boost::shared_ptr<InMemoryZoneFinder> zone_finder(imzf);
|
boost::shared_ptr<InMemoryZoneFinder> zone_finder(imzf);
|
||||||
const result::Result result = memory_client_->addZone(zone_finder);
|
const result::Result result = memory_client_->addZone(zone_finder);
|
||||||
if (result == result::EXIST) {
|
if (result == result::EXIST) {
|
||||||
isc_throw(AuthConfigError, "zone "<< origin->str()
|
isc_throw(AuthConfigError, "zone "<< origin->str()
|
||||||
|
Reference in New Issue
Block a user