diff options
Diffstat (limited to 'src')
-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) { |