diff options
author | jamesbond <jamesbond> | 2015-04-07 13:51:18 +0000 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2015-10-25 15:49:33 -0200 |
commit | 35a55bda891bf7a959cbb0ed7e1247475ad14c32 (patch) | |
tree | 2390a767e965d906460a724d3e5d155090db7455 /shell/shell.c | |
parent | c0a85b60c4aaa4a20efc05b992e747c0cda8d7a3 (diff) |
ARM fixes.
Diffstat (limited to 'shell/shell.c')
-rw-r--r-- | shell/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c index 551f4a7d..12bd2002 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1537,6 +1537,8 @@ static gchar *shell_summary_clear_value(gchar *value) gchar *return_value; keyfile = g_key_file_new(); + if (!value) return_value = g_strdup(""); + else if (g_key_file_load_from_data(keyfile, value, strlen(value), 0, NULL)) { gchar **groups; |