Hello,

This is the sixth patch of the set related to the DeviceAtlas.
Please cc ttr...@deviceatlas.com for any response as well.

Kindest regards.
From 22b73ae7d80c1cc6e52cd3e5ece7b0a8b1d0e5a0 Mon Sep 17 00:00:00 2001
From: David Carlier <dcarl...@afilias.info>
Date: Fri, 25 Sep 2015 14:15:36 +0100
Subject: [PATCH 6/7] MINOR: main: Initialization of new da struct fields

Proper zero'ed struct fields before init.
---
 src/haproxy.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/haproxy.c b/src/haproxy.c
index 465bb6a..4599daf 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -181,8 +181,11 @@ struct global global = {
 #ifdef USE_DEVICEATLAS
 	.deviceatlas = {
 		.loglevel = DA_SEV_INFO,
-		.useragentid = 0,
 		.jsonpath = 0,
+		.cookiename = 0,
+		.cookienamelen = 0,
+		.useragentid = 0,
+		.daset = 0,
 		.separator = '|',
 	},
 #endif
-- 
2.1.4

Reply via email to