]> code.citadel.org Git - citadel.git/commitdiff
messages.c: corrected a call to utf8ify_rfc822_string() that
authorArt Cancro <ajc@citadel.org>
Sun, 5 Feb 2006 23:17:45 +0000 (23:17 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 5 Feb 2006 23:17:45 +0000 (23:17 +0000)
had not been properly surrounded by the requisite ifdef's.

webcit/messages.c

index 2dd0b4f5944bc9e9c21adece6b33ca6fd1ef0b53..35ee6e05d82aef38aa059787a46099ad8af66bec 100644 (file)
@@ -660,7 +660,9 @@ void read_message(long msgnum, int printable_view, char *section) {
                        }
                        safestrncpy(&reply_all[strlen(reply_all)], &buf[5],
                                (sizeof reply_all - strlen(reply_all)) );
+#ifdef HAVE_ICONV
                        utf8ify_rfc822_string(&buf[5]);
+#endif
                        escputs(&buf[5]);
                        wprintf(" ");
                }