]> granicus.if.org Git - mutt/commit
Fix nested macro warning.
authorKevin McCarthy <kevin@8t8.us>
Tue, 21 Aug 2018 22:51:09 +0000 (15:51 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 21 Aug 2018 22:51:09 +0000 (15:51 -0700)
commit1d3b82b771c3698c758db3c47b69c539cca062c6
tree98d5a37552ecef33a07ea126c6db6edda66edc1c
parent38647ab907fff85fdf4248532a31c9951bd15634
Fix nested macro warning.

Pull the #if/#else outside of the snprintf in imap.c.  On some
platforms, snprintf is a macro itself, which leads to a warning about
undefined behavior.

Thanks to Charles Diza for pointing out the problem.
imap/imap.c