diff mbox series

[04/12] hawkbit: set explicitely new Curl options

Message ID 20181002143357.9329-4-sbabic@denx.de
State Accepted
Headers show
Series [01/12] channel_curl: allow answers not in JSON format | expand

Commit Message

Stefano Babic Oct. 2, 2018, 2:33 p.m. UTC
This should not be needed, because the default for new flags
is compatible with the past but it helps to document them.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 suricatta/server_hawkbit.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/suricatta/server_hawkbit.c b/suricatta/server_hawkbit.c
index 02767e9..34dc5ac 100644
--- a/suricatta/server_hawkbit.c
+++ b/suricatta/server_hawkbit.c
@@ -118,6 +118,9 @@  static channel_data_t channel_data_defaults = {.debug = false,
 #ifdef CONFIG_SURICATTA_SSL
 					       .usessl = true,
 #endif
+					       .format = CHANNEL_PARSE_JSON,
+					       .nocheckanswer = false,
+					       .nofollow = false,
 					       .strictssl = true};
 
 static struct timeval server_time;