projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c940e2
)
added msg log
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 8 Nov 2011 10:51:09 +0000
(10:51 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 8 Nov 2011 10:51:09 +0000
(10:51 +0000)
src/rsensor.c
patch
|
blob
|
history
diff --git
a/src/rsensor.c
b/src/rsensor.c
index
0e20bdd
..
22d069d
100644
(file)
--- 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