From bd2df64bac5b4fce816d2e76dca9e0ae3da0d3e4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 2 Jul 2015 09:46:35 +0200 Subject: [PATCH] config: add NM_CONFIG_KEYFILE_LIST_SEPARATOR define (cherry picked from commit a05e80913e6b21b38cc1e729de92bc2e1260574e) --- src/nm-config.c | 2 +- src/nm-config.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nm-config.c b/src/nm-config.c index dc585d292c..6b94207d15 100644 --- a/src/nm-config.c +++ b/src/nm-config.c @@ -404,7 +404,7 @@ nm_config_create_keyfile () GKeyFile *keyfile; keyfile = g_key_file_new (); - g_key_file_set_list_separator (keyfile, ','); + g_key_file_set_list_separator (keyfile, NM_CONFIG_KEYFILE_LIST_SEPARATOR); return keyfile; } diff --git a/src/nm-config.h b/src/nm-config.h index 4eeb8aa886..4cba2fd88f 100644 --- a/src/nm-config.h +++ b/src/nm-config.h @@ -46,6 +46,8 @@ G_BEGIN_DECLS #define NM_CONFIG_DEFAULT_CONNECTIVITY_INTERVAL 300 #define NM_CONFIG_DEFAULT_CONNECTIVITY_RESPONSE "NetworkManager is online" /* NOT LOCALIZED */ +#define NM_CONFIG_KEYFILE_LIST_SEPARATOR ',' + typedef struct NMConfigCmdLineOptions NMConfigCmdLineOptions; struct _NMConfig {