ADD: added fix of returning string from curl response class
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user