diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-01-26 02:42:33 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-01-26 02:42:33 +0800 |
commit | b6925162343e8e6f806624926cd8697f663bb646 (patch) | |
tree | c783605e26962b914670063704ceaf2bb6d46fb0 | |
parent | 87445aae78b89820090ffb0746a2bcaf7bdc0277 (diff) | |
download | freebsd-ports-gnome-b6925162343e8e6f806624926cd8697f663bb646.tar.gz freebsd-ports-gnome-b6925162343e8e6f806624926cd8697f663bb646.tar.zst freebsd-ports-gnome-b6925162343e8e6f806624926cd8697f663bb646.zip |
Fix an IMAP authentication problem.
-rw-r--r-- | mail/mail-notification/Makefile | 2 | ||||
-rw-r--r-- | mail/mail-notification/files/patch-src_mn-imap-mailbox.c | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile index 025ca7a4c959..8b829a150c79 100644 --- a/mail/mail-notification/Makefile +++ b/mail/mail-notification/Makefile @@ -7,7 +7,7 @@ PORTNAME= mail-notification PORTVERSION= 2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= mailnotify diff --git a/mail/mail-notification/files/patch-src_mn-imap-mailbox.c b/mail/mail-notification/files/patch-src_mn-imap-mailbox.c new file mode 100644 index 000000000000..7856dd51e208 --- /dev/null +++ b/mail/mail-notification/files/patch-src_mn-imap-mailbox.c @@ -0,0 +1,16 @@ +--- src/mn-imap-mailbox.c.orig Tue Aug 9 22:01:56 2005 ++++ src/mn-imap-mailbox.c Wed Jan 25 19:22:48 2006 +@@ -1646,7 +1646,12 @@ + */ + if (mn_ascii_validate(input)) + { +- if (g_str_has_prefix(input, "+ ")) ++ if (! strcmp(input, "+")) ++ { ++ response = g_new0(MNClientSessionResponse, 1); ++ response->continuation = g_strdup(""); ++ } ++ else if (g_str_has_prefix(input, "+ ")) + { + response = g_new0(MNClientSessionResponse, 1); + response->continuation = g_strdup(input + 2); |