diff options
author | Guillaume Friloux <guillaume.friloux@gmail.com> | 2014-01-07 10:44:00 +0100 |
---|---|---|
committer | Guillaume Friloux <guillaume.friloux@gmail.com> | 2014-01-07 10:44:00 +0100 |
commit | feedcc4919feb92fb81f087b1c1b92fa958179eb (patch) | |
tree | ca07125fbc1251662320b2843b44e3914be06dda /src/lib/store/store_main.c | |
parent | a1d9a09bf6811cba54c307b79b47c7649f1a7410 (diff) |
Make libstore to be more verbose on errors.
Diffstat (limited to 'src/lib/store/store_main.c')
-rw-r--r-- | src/lib/store/store_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/store/store_main.c b/src/lib/store/store_main.c index bcb4b81..f1c964f 100644 --- a/src/lib/store/store_main.c +++ b/src/lib/store/store_main.c | |||
@@ -92,6 +92,7 @@ store_add(Store *store, | |||
92 | sa->cb.done = done_cb; | 92 | sa->cb.done = done_cb; |
93 | sa->cb.error = error_cb; | 93 | sa->cb.error = error_cb; |
94 | sa->cb.data = data; | 94 | sa->cb.data = data; |
95 | sa->data.sent = strdup(buf); | ||
95 | DBG("store[%p] sa[%p] buf[%s]", store, sa, buf); | 96 | DBG("store[%p] sa[%p] buf[%s]", store, sa, buf); |
96 | ecore_con_url_data_set(sa->ec, sa); | 97 | ecore_con_url_data_set(sa->ec, sa); |
97 | r = ecore_con_url_post(sa->ec, buf, len, "text/json"); | 98 | r = ecore_con_url_post(sa->ec, buf, len, "text/json"); |