This commit is contained in:
Wolfgang Hottgenroth 2021-02-10 17:55:10 +01:00
parent b7a7c999d7
commit 83e8196cde

View File

@ -235,7 +235,7 @@ void deinitForwarder(t_forwarderHandle *handle) {
} }
int httpPostRequest(char *url, char *user, char *pass, char *payload) { int httpPostRequest(char *url, const char *user, const char *pass, char *payload) {
CURL *curl = curl_easy_init(); CURL *curl = curl_easy_init();
if (! curl) { if (! curl) {
logmsg(LOG_ERR, "error instantiating curl"); logmsg(LOG_ERR, "error instantiating curl");