From 793ca81eb4d43c1eb347dfa4567618006521e278 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 25 Aug 2019 13:34:43 +0200 Subject: fr-command-lrzip: Fix empty string check str is empty: if (*str == '\0') {...} --- src/fr-command-lrzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1