From e9214c2c480316522cc20f89cd3a5925c77a0fca Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 14 Feb 2022 00:14:26 +0000 Subject: Narrow filter --- www/git.causal.agency/filter.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/git.causal.agency/filter.c b/www/git.causal.agency/filter.c index b9e7f4cd..9ed9ee17 100644 --- a/www/git.causal.agency/filter.c +++ b/www/git.causal.agency/filter.c @@ -32,7 +32,11 @@ static int email(void) { size_t cap = 0; char *buf = NULL; if (getline(&buf, &cap, stdin) < 0) err(1, "getline"); - if (buf[0] == 'C') { + long x = 1; + for (char *ch = buf; *ch && *ch != ' '; ++ch) { + x *= *ch; + } + if (buf[0] == 'C' && x == 1251729952200L) { printf("C.%s", buf + strcspn(buf, " ")); } else { printf("%s", buf); -- cgit 1.4.1 > libtls for OpenSSL
summary refs log tree commit diff
path: root/include/compat/sys/types.h (unfollow)
Commit message (Collapse)Author
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe