diff options
Diffstat (limited to 'src/librc/librc-depend.c')
-rw-r--r-- | src/librc/librc-depend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index 4ccd7ee2..c6ebf495 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -151,7 +151,7 @@ rc_depinfo_t *rc_deptree_load (void) { /* Sanity */ e = get_shell_value (p); - if (! e || strlen (e) == 0) + if (! e || *e == '\0') goto next; if (! deptree) @@ -176,7 +176,7 @@ rc_depinfo_t *rc_deptree_load (void) /* Sanity */ e = get_shell_value (p); - if (! e || strlen (e) == 0) + if (! e || *e == '\0') goto next; if (! deptype) |