diff options
author | rbuj <[email protected]> | 2019-08-25 13:34:43 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-09-02 20:18:40 +0200 |
commit | 793ca81eb4d43c1eb347dfa4567618006521e278 (patch) | |
tree | 9521a85a5efc3a4e262bad3dafe1d209eb231f94 | |
parent | dfef20fc6a0300f09f542a8c87c30aa6352771ac (diff) | |
download | engrampa-793ca81eb4d43c1eb347dfa4567618006521e278.tar.bz2 engrampa-793ca81eb4d43c1eb347dfa4567618006521e278.tar.xz |
fr-command-lrzip: Fix empty string check
str is empty: if (*str == '\0') {...}
-rw-r--r-- | src/fr-command-lrzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-lrzip.c b/src/fr-command-lrzip.c index 7c02128..74cb9fd 100644 --- a/src/fr-command-lrzip.c +++ b/src/fr-command-lrzip.c @@ -76,7 +76,7 @@ list__process_line (char *line, fdata->dir = FALSE; fdata->link = NULL; - if (fdata->name == 0) + if (*fdata->name == '\0') file_data_free (fdata); else fr_command_add_file (comm, fdata); |