From 67d6f19ea0658cbe61d0f9855d0ed5dbec973684 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 17 Apr 2024 12:20:09 +0530 Subject: npass: DEF_DEPTTH -> DEF_DEPTH --- src/npass/npass.c | 8 ++++---- 1 file 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) { -- cgit v1.2.3