diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2021-11-19 22:34:07 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2021-11-19 22:34:07 +0530 |
commit | 3e29f82c5e10cd625a88d2ef931091ca6b2eaa6c (patch) | |
tree | 31b70b9adcd2cec5ccb12d327e30cf1e43951254 | |
parent | d643a1d9e0b8cf3a21f2e5f20c6d9488f6beef5b (diff) |
Fix lint report
-rw-r--r-- | src/bcal.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ static size_t bstrlcpy(char *dest, const char *src, size_t n) static bool program_exit(const char *str) { - if (!(strcmp(str, "exit") && strcmp(str, "quit"))) + if (!strcmp(str, "exit") || !strcmp(str, "quit")) return TRUE; return FALSE; } |