diff options
Diffstat (limited to 'libpiano/src')
-rw-r--r-- | libpiano/src/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiano/src/http.c b/libpiano/src/http.c index acae893..5c74d26 100644 --- a/libpiano/src/http.c +++ b/libpiano/src/http.c @@ -58,6 +58,8 @@ PianoReturn_t PianoHttpPost (WaitressHandle_t *waith, const char *postData, */ PianoReturn_t PianoHttpGet (WaitressHandle_t *waith, char *retData, size_t retDataSize) { + waith->extraHeaders = NULL; + waith->postData = NULL; waith->method = WAITRESS_METHOD_GET; if (WaitressFetchBuf (waith, retData, retDataSize) == WAITRESS_RET_OK) { |