summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd22/files/patch-imtest::imtest.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-06-30 11:31:04 +0000
committerRene Ladan <rene@FreeBSD.org>2014-06-30 11:31:04 +0000
commit8c108f1a312eb49c4820e65179aaecc40b002c51 (patch)
tree042dba241a120e8ea610123980307913c3c35b31 /mail/cyrus-imapd22/files/patch-imtest::imtest.c
parent- reset maintainer due to multiple timeouts [1] (diff)
Remove expired ports:
2014-06-30 mail/cyrus-imapd2: Cyrus IMAPd 2.1.X have been deprecated, consider using 2.4.X. 2014-06-30 mail/cyrus-imapd22: No further releases of 2.2.X are planned, consider using 2.4.X.
Notes
Notes: svn path=/head/; revision=359828
Diffstat (limited to 'mail/cyrus-imapd22/files/patch-imtest::imtest.c')
-rw-r--r--mail/cyrus-imapd22/files/patch-imtest::imtest.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/mail/cyrus-imapd22/files/patch-imtest::imtest.c b/mail/cyrus-imapd22/files/patch-imtest::imtest.c
deleted file mode 100644
index 957e35677d78..000000000000
--- a/mail/cyrus-imapd22/files/patch-imtest::imtest.c
+++ /dev/null
@@ -1,36 +0,0 @@
-Index: imtest/imtest.c
-diff -u imtest/imtest.c.orig imtest/imtest.c
---- imtest/imtest.c.orig Sun Jul 13 05:10:56 2003
-+++ imtest/imtest.c Fri Jul 18 00:52:29 2003
-@@ -51,6 +51,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
-
-+#include <limits.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-@@ -419,8 +420,8 @@
- }
-
-
--char *var_tls_CAfile="";
--char *var_tls_CApath="";
-+static char *var_tls_CAfile="";
-+static char *var_tls_CApath="";
- /*
- * This is the setup routine for the SSL client.
- *
-@@ -886,6 +886,12 @@
- }
-
- if (*str != '\r') {
-+ /* trim CRLF */
-+ char *p = str + strlen(str) - 1;
-+ if (p >= str && *p == '\n') *p-- = '\0';
-+ if (p >= str && *p == '\r') *p-- = '\0';
-+
-+ /* alloc space for decoded response */
- len = strlen(str) + 1;
- *line = malloc(len);
- if ((*line) == NULL) {