diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/fetchmail/files/patch-sum | 3 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/mail/fetchmail/files/patch-sum b/mail/fetchmail/files/patch-sum index 00ce83eae61..ced5f9fd3f0 100644 --- a/mail/fetchmail/files/patch-sum +++ b/mail/fetchmail/files/patch-sum @@ -1,5 +1,6 @@ -$NetBSD: patch-sum,v 1.13 2000/10/29 22:56:31 frueauf Exp $ +$NetBSD: patch-sum,v 1.14 2000/11/15 18:50:28 tron Exp $ MD5 (patch-aa) = cc1298297934cf1b0821583ef27ac5d9 MD5 (patch-ab) = e250709868504acbfd40cfa89634766e +MD5 (patch-ac) = 2c816f294ba8abeca66f8d825791b076 MD5 (patch-ad) = da45661a42aca654307a83b8d00c6a18 diff --git a/mail/fetchmail/patches/patch-ac b/mail/fetchmail/patches/patch-ac new file mode 100644 index 00000000000..d3cac400ab7 --- /dev/null +++ b/mail/fetchmail/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.11 2000/11/15 18:50:29 tron Exp $ + +--- imap.c.orig Fri Nov 10 23:34:27 2000 ++++ imap.c Wed Nov 15 19:43:51 2000 +@@ -827,13 +827,11 @@ + strcat (buf1, "\r\n"); + SockWrite (sock, buf1, strlen (buf1)); + +- if ((result = gen_recv (sock, buf1, sizeof (buf1)))) +- return result; +- +- if (strstr (buf1, "OK")) { +- return PS_SUCCESS; ++ result = imap_ok (sock, NULL); ++ if (result == PS_SUCCESS) { ++ return result; + } else { +- return PS_AUTHFAIL; ++ return PS_AUTHFAIL; + } + } + |