X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ac3670b33981698a02c5e95ab4f11cb3fe57562d..92430d277d40e31dcdcd527047e40ee5a19af399:/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();