From d3819ef7b806ccd92a767ec4bb43e0388f879216 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 10 Aug 2013 10:04:49 +0300 Subject: [PATCH] Renamed a variable. --- .../plugins/store/postgresql/postgresql_store.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp index aabce23b..5e2d8ae6 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp @@ -96,15 +96,15 @@ std::vector::iterator i; for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i) { std::string param(ToLower(i->param)); - if (s == "server") + if (param == "server") server = *(i->value.begin()); - else if (s == "database") + else if (param == "database") database = *(i->value.begin()); - else if (s == "user") + else if (param == "user") user = *(i->value.begin()); - else if (s == "password") + else if (param == "password") password = *(i->value.begin()); - else if (s == "retries") + else if (param == "retries") if (str2x(*(i->value.begin()), retries)) { strError = "Invalid 'retries' value"; -- 2.43.2