aboutsummaryrefslogtreecommitdiffstats
path: root/mail/asmail/files/patch-globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/asmail/files/patch-globals.h')
-rw-r--r--mail/asmail/files/patch-globals.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/asmail/files/patch-globals.h b/mail/asmail/files/patch-globals.h
new file mode 100644
index 000000000000..da5be836b047
--- /dev/null
+++ b/mail/asmail/files/patch-globals.h
@@ -0,0 +1,14 @@
+--- globals.h.orig 2007-04-09 00:51:09.000000000 -0700
++++ globals.h 2011-01-06 22:55:10.000000000 -0800
+@@ -15,7 +15,9 @@
+ #define VERSION "2.1"
+ #define RCFILE ".asmailrc"
+ /* Watch out! The MAX_INPUT_LENGTH must be a multiple of 64! */
+-#define MAX_INPUT_LENGTH 255
++/* Why?? 255 (the original value) is not a multiple of 64. 255 is too small */
++/* for IMAP responses */
++#define MAX_INPUT_LENGTH 4096
+
+ #define pthread_attr_default NULL
+
+--- patch-globals.h ends here --- \ No newline at end of file