mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 09:10:17 +01:00
config/trivial: add code comment
(cherry picked from commit 0c6a011e34)
This commit is contained in:
parent
1b66696f6a
commit
045841b66c
1 changed files with 7 additions and 0 deletions
|
|
@ -367,6 +367,13 @@ nm_config_data_get_connection_default (const NMConfigData *self,
|
|||
char *value;
|
||||
gboolean match;
|
||||
|
||||
/* FIXME: Here we use g_key_file_get_string(). This should be in sync with what keyfile-reader
|
||||
* does.
|
||||
*
|
||||
* Unfortunately that is currently not possible because keyfile-reader does the two steps
|
||||
* string_to_value(keyfile_to_string(keyfile)) in one. Optimally, keyfile library would
|
||||
* expose both functions, and we would return here keyfile_to_string(keyfile).
|
||||
* The caller then could convert the string to the proper value via string_to_value(value). */
|
||||
value = g_key_file_get_string (priv->keyfile, connection_info->group_name, property, NULL);
|
||||
if (!value && !connection_info->stop_match)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue