git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3254
cb58f699-b61c-0410-a6fe-
9272a202ed29
return -10;
}
+ SPConfig& conf=SPConfig::getConfig();
+ conf.setFeatures(SPConfig::Metadata | SPConfig::Trust | SPConfig::OutOfProcess | SPConfig::Credentials);
+ if (!conf.init())
+ return -1;
+
if (rname) {
if (!protocol) {
if (prot)
protocol = XMLString::transcode(prot);
}
if (!protocol) {
+ conf.term();
usage();
return -10;
}
}
- SPConfig& conf=SPConfig::getConfig();
- conf.setFeatures(SPConfig::Metadata | SPConfig::Trust | SPConfig::OutOfProcess | SPConfig::Credentials);
- if (!conf.init())
- return -1;
if (!conf.instantiate()) {
conf.term();
return -2;