summaryrefslogtreecommitdiff
path: root/src/lib/store/store_event.c
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-26 15:36:45 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-26 15:36:45 +0100
commit7648d81d7cab7a537c3c7f6a660e394bb097f765 (patch)
treedebe4c2a55c1ca7f95b6a46adeddfe47ade06b86 /src/lib/store/store_event.c
parentf428b4124d46bef42940f31a04945db762fe8d70 (diff)
Smman can now insert logs into ES.
Diffstat (limited to '')
-rw-r--r--src/lib/store/store_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/store/store_event.c b/src/lib/store/store_event.c
index 4f23c7d..73533f4 100644
--- a/src/lib/store/store_event.c
+++ b/src/lib/store/store_event.c
@@ -38,7 +38,7 @@ store_event_complete(void *data,
38 return EINA_TRUE; 38 return EINA_TRUE;
39 39
40 http_code = ecore_con_url_status_code_get(sa->ec); 40 http_code = ecore_con_url_status_code_get(sa->ec);
41 if (http_code != 200) 41 if ((http_code != 200) && (http_code != 201))
42 { 42 {
43 errstr = store_utils_dupf("Server replied HTTP code %i", http_code); 43 errstr = store_utils_dupf("Server replied HTTP code %i", http_code);
44 sa->cb.error((void *)sa->cb.data, sa->store, errstr); 44 sa->cb.error((void *)sa->cb.data, sa->store, errstr);