summaryrefslogtreecommitdiff
path: root/src/lib/store/store_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/store/store_main.c')
-rw-r--r--src/lib/store/store_main.c1
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");