aboutsummaryrefslogtreecommitdiff
path: root/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/courier-imap/files/patch-rfc2045_rfc2045reply.c')
-rw-r--r--mail/courier-imap/files/patch-rfc2045_rfc2045reply.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c b/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c
new file mode 100644
index 000000000000..f53c3463a9ee
--- /dev/null
+++ b/mail/courier-imap/files/patch-rfc2045_rfc2045reply.c
@@ -0,0 +1,22 @@
+--- rfc2045/rfc2045reply.c~ Thu May 25 08:48:48 2006
++++ rfc2045/rfc2045reply.c Wed May 31 10:08:03 2006
+@@ -591,7 +591,9 @@
+ off_t start_pos, end_pos, start_body, dummy;
+ int errflag=0;
+ struct rfc2045headerinfo *hi;
+-
++#if HAVE_UNICODE
++ const struct unicode_info *uiptr=NULL;
++#endif
+ oldtocc=0;
+ oldtolist=0;
+ oldfrom=0;
+@@ -601,8 +603,6 @@
+ oldreferences=0;
+ whowrote=0;
+ #if HAVE_UNICODE
+- const struct unicode_info *uiptr=NULL;
+-
+ if (ri->charset && *(ri->charset))
+ uiptr = unicode_find(ri->charset);
+ #endif