X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d1c864e3feaf4295d366e2ef497495738ce15337..040deac4b8ae0728e3ff7635bb16595ec08d5817:/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp index a9836911..35551c5d 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store.cpp @@ -38,19 +38,16 @@ * */ -#include "postgresql_store.h" - -#include "postgresql_store_utils.h" -#include "postgresql_store.h" - -#include "stg/module_settings.h" -#include "stg/plugin_creator.h" - #include #include #include +#include "stg/module_settings.h" +#include "stg/plugin_creator.h" +#include "postgresql_store_utils.h" +#include "postgresql_store.h" + namespace { PLUGIN_CREATOR pgsc; @@ -92,12 +89,13 @@ pthread_mutex_destroy(&mutex); int POSTGRESQL_STORE::ParseSettings() { std::vector::iterator i; +std::string s; for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i) { if (i->value.empty()) continue; - std::string s = ToLower(i->param); + s = ToLower(i->param); if (s == "server") { server = i->value.front();