From: Erik Hovland Date: Tue, 16 Dec 2008 07:45:37 +0000 (-0800) Subject: Fix bad parentheses in stat rc X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fb33d521e937bd8da1daf46cf87714616ffb9a4;p=neomutt Fix bad parentheses in stat rc --- diff --git a/ChangeLog b/ChangeLog index e6437d82c..6a39c89b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-15 23:42 -0800 Erik Hovland (2991ac6bc363) + + * bcache.c: snprintf returns int, not size_t + + * muttlib.c: Always va_end(ap_retry) in mutt_buffer_printf + 2008-12-15 23:11 -0800 Brendan Cully (101a8bcba613) * imap/BUGS: imap/BUGS is superseded by the BTS diff --git a/mh.c b/mh.c index f8e66e96a..050cf5f45 100644 --- a/mh.c +++ b/mh.c @@ -1982,7 +1982,7 @@ int mh_check_mailbox (CONTEXT * ctx, int *index_hint) /* create .mh_sequences when there isn't one. */ snprintf (buf, sizeof (buf), "%s/.mh_sequences", ctx->path); - if ((i = stat (buf, &st_cur) == -1) && errno == ENOENT) + if ((i = stat (buf, &st_cur)) == -1 && errno == ENOENT) { char *tmp; FILE *fp = NULL;