summaryrefslogtreecommitdiff
path: root/mail/teapop-devel/files/patch-ab
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2001-04-04 16:45:16 +0000
committerJim Mock <jim@FreeBSD.org>2001-04-04 16:45:16 +0000
commitab1f01876c4d8e89eab7c5c2e721fb55da46ee48 (patch)
treed8a1c6594f1e715ddea2630251e43104bbc0fb70 /mail/teapop-devel/files/patch-ab
parentAdd py-asv 0.4, an extensible Python module to parse simple text (diff)
Update to version 0.3.0 -- patch-ab is no longer needed.
Notes
Notes: svn path=/head/; revision=40843
Diffstat (limited to 'mail/teapop-devel/files/patch-ab')
-rw-r--r--mail/teapop-devel/files/patch-ab30
1 files changed, 0 insertions, 30 deletions
diff --git a/mail/teapop-devel/files/patch-ab b/mail/teapop-devel/files/patch-ab
deleted file mode 100644
index aad97bbbecfe..000000000000
--- a/mail/teapop-devel/files/patch-ab
+++ /dev/null
@@ -1,30 +0,0 @@
---- teapop/pop_auth.c.orig Mon Nov 13 02:03:11 2000
-+++ teapop/pop_auth.c Wed Mar 28 23:58:33 2001
-@@ -111,7 +111,11 @@
- #endif /* ALLOW_APOP */
- pop_cmd_capa(NULL, pinfo);
- continue;
-+#ifdef ALLOW_APOP
- case 4:
-+#else
-+ case 3:
-+#endif /* ALLOW_APOP */
- return 1;
- }
- /* If we get this far we have a good USER or APOP */
-@@ -158,7 +162,14 @@
-
- #ifdef VPOP
- ptr = pop_string_find(pinfo->userid, DIVIDERS);
-- if (ptr != NULL) {
-+ if (ptr == NULL) {
-+ syslog(LOG_ERR, "pop_auth: malloc failure");
-+ pop_socket_send(pinfo->out, "%s %s", POP_ERR,
-+ POP_WRONG);
-+ exit(0);
-+ }
-+ if (*ptr != '\0') {
-+ /* domain delimiters found */
- strcpy(pinfo->domain, ptr+1);
- *ptr = '\0';
- } else