Checking for multiple key-value definitions in add_group_key_value() does not work because `key' at lookup-time points to the last character in the key. Fix this by moving the check after `key' has its proper value extracted with g_strndup(). Also, make the associated logging message clearer.
Checking for multiple key-value definitions in add_group_key_value() does not work because `key' at lookup-time points to the last character in the key. Fix this by moving the check after `key' has its proper value extracted with g_strndup(). Also, make the associated logging message clearer.
Signed-off-by: Atte Heikkilä \atteh.mailbox@gmail.com