mblaze

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

commit 08ea54953ffdac34e60b2d93b0777324413f737d
parent 2287e896312613175f0c7f846d3a56cd9640ebde
Author: Duncaen <mail@duncano.de>
Date:   Fri, 31 Mar 2017 01:46:20 +0200

mflag: check if curfile is set before using it

Diffstat:
mflag.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mflag.c b/mflag.c @@ -92,7 +92,7 @@ doit: goto skip; } - if (strcmp(file+indent, curfile) == 0) + if (curfile && strcmp(file+indent, curfile) == 0) blaze822_seq_setcur(dst+indent); printf("%s\n", dst);