commit 6f53e6d134a27a6958dd76c67b6a110ec822274c
parent 42f2adb484033fcc76f6c0aaf986ca3b38282a54
Author: Santtu Lakkala <inz@inz.fi>
Date: Thu, 18 Jan 2024 13:26:17 +0200
Use correct default period value of 30
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/token.c b/token.c
@@ -78,7 +78,7 @@ static uint8_t strtou8(const char *s, char **end) {
}
struct token token_parse_uri(char *data) {
- struct token rv = { .t0 = 0, .period = 60, .digits = 6, .digest = DIGEST_SHA1, .valid = false };
+ struct token rv = { .t0 = 0, .period = 30, .digits = 6, .digest = DIGEST_SHA1, .valid = false };
char *str;
char *i;
char *v;