From 4f01bfef1201bf679fc4487342ba5457bdf267ad Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 2 Oct 2021 20:29:30 +0000 Subject: dash: Fix chkmail loop break condition padvance_magic() returns -1 when there are no more paths left, not zero. --- src/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail.c b/src/mail.c index e6baaa1..ec5bd10 100644 --- a/src/mail.c +++ b/src/mail.c @@ -80,7 +80,7 @@ chkmail(void) int len; len = padvance_magic(&mpath, nullstr, 2); - if (!len) + if (len == -1) break; p = stackblock(); if (*p == '\0') -- cgit 1.4.1 'h' onchange='this.form.submit();'> dontfiles
summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/html.h (unfollow)
Commit message (Expand)Author
2021-02-07Set urgency on bell in xtermJune McEnroe
2021-02-07Add bindings for brightness controlJune McEnroe
2021-02-07Set X key repeat rateJune McEnroe
2021-02-07Bump font size to 12June McEnroe
2021-02-07Fully configure and rebind cwmJune McEnroe
2021-02-07Add BintiJune McEnroe
2021-02-07Finish configuring xtermJune McEnroe
2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe
2021-02-06Set root window to black on purple snowJune McEnroe
2021-02-06Add xmodmap configurationJune McEnroe
2021-02-06Add initial OpenBSD X configurationJune McEnroe
2021-02-06Add xterm output to schemeJune McEnroe