diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-17 12:20:09 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-17 12:30:59 +0530 |
commit | 67d6f19ea0658cbe61d0f9855d0ed5dbec973684 (patch) | |
tree | 8bf5dfa132af15428562371d59bcd009d27629af | |
parent | 091ecbe6f0572935d94752ae28823ad2a3eadd39 (diff) |
npass: DEF_DEPTTH -> DEF_DEPTH
-rw-r--r-- | src/npass/npass.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/npass/npass.c b/src/npass/npass.c index 8fa7113..60fe01c 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -10,9 +10,9 @@ #define return_invalid_usage(err) \ return_err(err, "%s", "Invalid usage, try `pass help`") -#define DEF_DEPTTH 16 -#define BLUE "\e[0;34m" -#define NCOL "\e[0m" +#define DEF_DEPTH 16 +#define BLUE "\e[0;34m" +#define NCOL "\e[0m" typedef enum { DEPTH_ITS_OVER = 0, @@ -72,7 +72,7 @@ static int ls(const char *path, size_t depth) if (slen <= 0) return -EPERM; - depth_state_len = DEF_DEPTTH; + depth_state_len = DEF_DEPTH; if (!depth) { depth_state = malloc(sizeof(depth_state_t) * depth_state_len); if (!depth_state) { |