summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-config.c2
-rw-r--r--src/nm-config.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/nm-config.c b/src/nm-config.c
index 6c4e09d297..e671ca14fe 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 {