mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-29 05:50:48 +02:00
keyfile: trivial whitespace fixes
This commit is contained in:
parent
9a3d762fdf
commit
5c260cfe4a
1 changed files with 3 additions and 3 deletions
|
|
@ -857,11 +857,11 @@ cert_parser (NMSetting *setting, const char *key, GKeyFile *keyfile, const char
|
|||
success = TRUE;
|
||||
} else if ( (array->len < 500)
|
||||
&& g_utf8_validate ((const char *) array->data, array->len, NULL)) {
|
||||
GByteArray *val;
|
||||
GByteArray *val;
|
||||
char *path;
|
||||
|
||||
path = get_cert_path (keyfile_path, array);
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS)) {
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS)) {
|
||||
/* Construct the proper value as required for the PATH scheme */
|
||||
val = g_byte_array_sized_new (strlen (SCHEME_PATH) + array->len + 1);
|
||||
g_byte_array_append (val, (const guint8 *) SCHEME_PATH, strlen (SCHEME_PATH));
|
||||
|
|
@ -870,7 +870,7 @@ cert_parser (NMSetting *setting, const char *key, GKeyFile *keyfile, const char
|
|||
g_object_set (setting, key, val, NULL);
|
||||
g_byte_array_free (val, TRUE);
|
||||
success = TRUE;
|
||||
}
|
||||
}
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue