X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6a24f530fab7ebff1617f6d3929d2fcad7ed4818..0492dd9aebc0acf9158af88178c503d5d907f9e4:/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();