X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/91b5ae18ae465d0887785aab6dc0eb7abc0d5488..3d0666c75bc51feb1ef512578e65c06a92c71cc8:/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp diff --git a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp index b64e6615..91796148 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp @@ -1,11 +1,11 @@ -#include "messages_methods.h" +#include // xmlrpc-c devs have missed something :) +#include "stg/message.h" +#include "stg/common.h" +#include "messages_methods.h" #include "rpcconfig.h" -#include "stg_message.h" -#include "utils.h" -#include "common.h" -extern const volatile time_t stgTime; +extern volatile time_t stgTime; //------------------------------------------------------------------------------ @@ -75,7 +75,7 @@ if ((it = msgInfo.find("text")) == msgInfo.end()) } message.text = IconvString(xmlrpc_c::value_string(it->second), "UTF-8", "CP1251"); -message.header.creationTime = stgTime; +message.header.creationTime = static_cast(stgTime); message.header.lastSendTime = 0; std::vector::iterator lit;