ADD: added fix of returning string from curl response class

This commit is contained in:
Henry Winkel
2023-10-26 15:02:58 +02:00
parent 7938112f5c
commit 92d4273fa9

View File

@@ -3,6 +3,7 @@
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#define MAX_FILE_LENGTH 200000
@@ -55,7 +56,7 @@ public:
std::string getResponse()
{
return m_pBuffer;
return std::string(m_pBuffer);
}
void print()