diff options
author | Thomas Haller <thaller@redhat.com> | 2015-07-02 09:46:35 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-07-02 15:50:03 +0200 |
commit | a05e80913e6b21b38cc1e729de92bc2e1260574e (patch) | |
tree | db430f75e283c72f35e772bfb3970d8ac302adb4 | |
parent | 3c8abc2d5bb2ad43a5ed9f4a90074fb97c31b538 (diff) | |
download | NetworkManager-a05e80913e6b21b38cc1e729de92bc2e1260574e.tar.gz |
config: add NM_CONFIG_KEYFILE_LIST_SEPARATOR define
-rw-r--r-- | src/nm-config.c | 2 | ||||
-rw-r--r-- | src/nm-config.h | 2 |
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 { |