diff options
author | Marc Laukien <marc@zeroc.com> | 2002-02-14 04:16:37 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-02-14 04:16:37 +0000 |
commit | 0f6931918a5fe32cd90fb9f599682838f48cb716 (patch) | |
tree | 3201933dcf9691bffd803ed0116895dbf5645d8a /cpp/src/IceStorm/Server.cpp | |
parent | Removed file that shouldn't be present until after merging FreezeXML (diff) | |
download | ice-0f6931918a5fe32cd90fb9f599682838f48cb716.tar.bz2 ice-0f6931918a5fe32cd90fb9f599682838f48cb716.tar.xz ice-0f6931918a5fe32cd90fb9f599682838f48cb716.zip |
fixes, simplifications
Diffstat (limited to 'cpp/src/IceStorm/Server.cpp')
-rw-r--r-- | cpp/src/IceStorm/Server.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/IceStorm/Server.cpp b/cpp/src/IceStorm/Server.cpp index b0c25829a26..92d4d015acb 100644 --- a/cpp/src/IceStorm/Server.cpp +++ b/cpp/src/IceStorm/Server.cpp @@ -49,11 +49,8 @@ main(int argc, char* argv[]) return EXIT_FAILURE; } - string dbEnvName = defaultProperties->getProperty("IceStorm.DBEnvName"); - if (dbEnvName.empty()) - { - dbEnvName = "db"; - } + string dbEnvName = defaultProperties->getPropertyWithDefault("IceStorm.DBEnvName", "db"); + Server app(dbEnvName); return app.main(argc, argv); } |