]> granicus.if.org Git - neomutt/commit
Fix nested macro warning.
authorKevin McCarthy <kevin@8t8.us>
Tue, 21 Aug 2018 22:51:09 +0000 (15:51 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 3 Sep 2018 15:38:30 +0000 (16:38 +0100)
commit3a4af59fdc19084d5818c29e88132f9e169dbdd9
treec46d02b67dc1d91a73283cd5977c6bd01b10ad53
parenteb089d43faebdc6a60375b9c5ba41d62b14f4ef4
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