diff options
Diffstat (limited to 'src/librc/librc-misc.c')
-rw-r--r-- | src/librc/librc-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index be911e9f..db6209fd 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -196,7 +196,7 @@ char **rc_config_load (const char *file) do { /* Bash variables are usually quoted */ token = strsep (&line, "\"\'"); - } while ((token) && (strlen (token) == 0)); + } while (token && *token == '\0'); /* Drop a newline if that's all we have */ if (token) { |