X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0d5bff91a33dc190351adc0010f8218c81423799..3c830ad0bc5107acead026251cadd71d08a28308:/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();