summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client-test-app.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client-test-app.cpp b/src/client-test-app.cpp
index 87b27982..0c13e724 100644
--- a/src/client-test-app.cpp
+++ b/src/client-test-app.cpp
@@ -116,8 +116,8 @@ public:
* can be instantiated as client A with id == "1" and client B with id == "2"
*/
TestEvolution(const string &id) :
- ClientTest(getenv("CLIENT_TEST_DELAY") ? atoi(getenv("CLIENT_TEST_DELAY")) : 0,
- getenv("CLIENT_TEST_LOG") ? getenv("CLIENT_TEST_LOG") : ""),
+ ClientTest(atoi(getEnv("CLIENT_TEST_DELAY", "0")),
+ getEnv("CLIENT_TEST_LOG", "")),
m_initialized(false),
m_clientID(id),
m_configs(SyncSource::getTestRegistry())