mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
adding some curl helpers
Signed-off-by: Thilo Graf <dbt@novatux.de> NOTE: this pick makes build broken because of some previous declarations
This commit is contained in:
@@ -68,13 +68,6 @@
|
||||
|
||||
#define SMSKEY_TIMEOUT 2000
|
||||
|
||||
size_t CurlWriteToString(void *ptr, size_t size, size_t nmemb, void *data)
|
||||
{
|
||||
std::string* pStr = (std::string*) data;
|
||||
pStr->append((char*) ptr, nmemb); // do only add the correct size, do not go until end of data (chunked transfer)
|
||||
return size*nmemb;
|
||||
}
|
||||
|
||||
SMSKeyInput::SMSKeyInput()
|
||||
{
|
||||
resetOldKey();
|
||||
|
Reference in New Issue
Block a user