mirror of
https://github.com/outbackdingo/parodus.git
synced 2026-01-27 10:20:04 +00:00
use memset to clear auth token in requestNewAuthToken
This commit is contained in:
@@ -66,7 +66,7 @@ int requestNewAuthToken(char *newToken, size_t len, int r_count)
|
||||
|
||||
struct token_data data;
|
||||
data.size = 0;
|
||||
newToken[0] = '\0';
|
||||
memset (newToken, 0, len);
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl)
|
||||
|
||||
Reference in New Issue
Block a user