From ca31f14d74acb9f461a7f23e476848b78c4a5c82 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Tue, 15 Nov 2016 12:03:58 -0800 Subject: [PATCH] Fix loop terminator in in mutt_find_cfg(). Keep searching even if home is NULL. --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.c b/init.c index 910c46a56..ee271538c 100644 --- a/init.c +++ b/init.c @@ -3237,7 +3237,7 @@ static char* mutt_find_cfg (const char *home, const char *xdg_cfg_home) int i; - for (i = 0; locations[i][0] && locations[i][1]; i++) + for (i = 0; locations[i][0] || locations[i][1]; i++) { int j; -- 2.50.1