X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Frsensor.c;h=22d069d991db2b5525b93213e253632e4e3bb397;hb=da69ba7d1817bdcd4c139714b0e21e921752609f;hp=0e20bddcea39d6d673ead05c2bbe320b40855f79;hpb=4c940e2108b050369a6ca0c51f639c2e42e0ca5f;p=psensor.git diff --git a/src/rsensor.c b/src/rsensor.c index 0e20bdd..22d069d 100644 --- a/src/rsensor.c +++ b/src/rsensor.c @@ -131,6 +131,7 @@ static json_object *get_json_object(const char *url) curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, cbk_curl); curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk); + log_printf(LOG_DEBUG, "HTTP request %s", url); if (curl_easy_perform(curl) == CURLE_OK) obj = json_tokener_parse(chunk.data); else