summaryrefslogtreecommitdiff
path: root/src/fr-command-ace.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-31 11:31:56 +0100
committerZenWalker <[email protected]>2020-03-08 21:14:36 +0100
commit144ac2fb1395a76a04773c577965a8754f2dab3b (patch)
tree61820c300316ed7b1893160b53f0f4b7ae5c408e /src/fr-command-ace.c
parent3c6c1cef810b6a27ecf5142893bd960d6efb32f2 (diff)
downloadengrampa-144ac2fb1395a76a04773c577965a8754f2dab3b.tar.bz2
engrampa-144ac2fb1395a76a04773c577965a8754f2dab3b.tar.xz
glib-utils: remove n_fields function
Diffstat (limited to 'src/fr-command-ace.c')
-rw-r--r--src/fr-command-ace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-ace.c b/src/fr-command-ace.c
index 5d277fc..5e36819 100644
--- a/src/fr-command-ace.c
+++ b/src/fr-command-ace.c
@@ -130,7 +130,7 @@ process_line (char *line,
else if (ace_comm->command_type == FR_ACE_COMMAND_NONFREE)
fields = split_line (line, 5);
- if ((fields == NULL) || (fields[0] == NULL) || (n_fields (fields) < 5))
+ if ((fields == NULL) || (g_strv_length (fields) < 5))
return;
fdata->size = g_ascii_strtoull (fields[3], NULL, 10);