mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 4c592759a29702b8daa9e92028a5ecef95b9a393
parent 31d1cb7bc63d3d30f4875720d51f7dcda04d9d25
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Mon, 17 Jul 2017 14:18:25 +0200

mseq: use first message of range for -c and -C.

Diffstat:
mseq.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/mseq.c b/mseq.c @@ -251,6 +251,9 @@ stdinmode() void overridecur(char *file) { + static int once = 0; + if (once++) + return; while (*file == ' ') file++; setenv("MAILDOT", file, 1); @@ -259,6 +262,9 @@ overridecur(char *file) void setcur(char *file) { + static int once = 0; + if (once++) + return; while (*file == ' ') file++; unsetenv("MAILDOT");