added msg log
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 8 Nov 2011 10:51:09 +0000 (10:51 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 8 Nov 2011 10:51:09 +0000 (10:51 +0000)
src/rsensor.c

index 0e20bdd..22d069d 100644 (file)
@@ -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