1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix an IMAP authentication problem.

This commit is contained in:
Jean-Yves Lefort 2006-01-25 18:42:33 +00:00
parent c9c2b079af
commit 6e07269d0e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154443
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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);