Fix log_config initialisation properly 90/196690/1
authorMichal Bloch <m.bloch@samsung.com>
Thu, 3 Jan 2019 12:27:33 +0000 (13:27 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 3 Jan 2019 12:51:46 +0000 (13:51 +0100)
commit27657aea30fba6932c6d3ca87728adcef4c41aac
tree755ae1a6993ddbd9ab917fd7fa622f884e51bcbb
parent2e5d10e63439878fea8791353226a4e26a7a7cb2
Fix log_config initialisation properly

The test wrapper around log_config_read had different behaviour
than the real function and did not properly initialise members.

The previous fix was less elegant and is no longer needed.
This partially reverts commit 682e540702101156881a5c3219f1b27a8fcb4894.

Change-Id: Ib9210dabe0c6033fe22de073ceaada30e012cdc5
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/libdlog/log.c
src/logger/logger.c
src/tests/config.c
src/tests/libdlog_base.c