Commit c974f6a9 authored by Legodev's avatar Legodev

FIXED: missplaced std::time_t result;

parent 8e925e53
......@@ -42,9 +42,12 @@ extern "C"
{
void RVExtensionArgs(char *output, int outputSize, const char *function, const char **args, int argsCnt)
{
#ifdef DEBUG
std::time_t result;
#endif
try {
#ifdef DEBUG
std::time_t result = std::time(nullptr);
result = std::time(nullptr);
testfile << std::asctime(std::localtime(&result)) << "\t\t ARMAIO-REQUEST " << function << std::endl;
testfile.flush();
for (int i = 0; i < argsCnt; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment