aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-07 14:01:12 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-07 14:01:12 +0530
commitefdbb3430a4315582102dc8ffe695774335474b2 (patch)
tree67719853553a74432f28f812729f8ef802b95651
parent10e8ddd971e71dcfc19be6f3161a91658fecfaab (diff)
libnpass/pass_gen_t: PASS_GEN_ALPHA -> PASS_GEN_ALNUM
-rw-r--r--include/libnpass/libnpass.h2
-rw-r--r--src/npass/npass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h
index d7eef75..c5e756f 100644
--- a/include/libnpass/libnpass.h
+++ b/include/libnpass/libnpass.h
@@ -2,7 +2,7 @@
typedef enum {
PASS_GEN_DIGIT = 0,
- PASS_GEN_ALPHA = 1,
+ PASS_GEN_ALNUM = 1,
PASS_GEN_PRINT = 2,
} pass_gen_t;
diff --git a/src/npass/npass.c b/src/npass/npass.c
index 4eba07f..e1f0564 100644
--- a/src/npass/npass.c
+++ b/src/npass/npass.c
@@ -104,7 +104,7 @@ int gen(int argc, char *argv[]) {
gen = PASS_GEN_DIGIT;
break;
case 'a':
- gen = PASS_GEN_ALPHA;
+ gen = PASS_GEN_ALNUM;
break;
case 'p':
gen = PASS_GEN_PRINT;