]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/tariffs_methods.cpp
ticket 37. The newTariff, currentTariff objects added, if (newTariff)
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / tariffs_methods.cpp
index 0b110d542b833c93f81e19952f713594f7512b75..77d73b02091d379cca4e85565756ea8f736d58c7 100644 (file)
@@ -1,3 +1,5 @@
+#include <ostream> // xmlrpc-c devs have missed something :)
+
 #include "tariffs_methods.h"
 #include "rpcconfig.h"
 #include "tariff_helper.h"
 #include "tariffs_methods.h"
 #include "rpcconfig.h"
 #include "tariff_helper.h"
@@ -125,7 +127,6 @@ void METHOD_TARIFF_ADD::execute(xmlrpc_c::paramList const & paramList,
 {
 std::string cookie = paramList.getString(0);
 std::string tariff = paramList.getString(1);
 {
 std::string cookie = paramList.getString(0);
 std::string tariff = paramList.getString(1);
-std::string enc;
 paramList.verifyEnd(2);
 
 ADMIN_INFO adminInfo;
 paramList.verifyEnd(2);
 
 ADMIN_INFO adminInfo;