summaryrefslogtreecommitdiff
path: root/misc/kdepimlibs4/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdepimlibs4/patches/patch-aa')
-rw-r--r--misc/kdepimlibs4/patches/patch-aa26
1 files changed, 0 insertions, 26 deletions
diff --git a/misc/kdepimlibs4/patches/patch-aa b/misc/kdepimlibs4/patches/patch-aa
deleted file mode 100644
index c8c3b7507e0..00000000000
--- a/misc/kdepimlibs4/patches/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2010/01/17 11:27:55 markd Exp $
-
-KDE SVN commit r1074158 by ttrnka:
-
-Properly check errors during authentication to avoid falling into an
-infinite loop.
-
---- kioslave/imap4/imapparser.cpp.orig 2009-05-14 17:26:01.000000000 +0000
-+++ kioslave/imap4/imapparser.cpp
-@@ -262,13 +262,12 @@ imapParser::clientAuthenticate ( KIO::Sl
- }
- cmd = sendCommand (CommandPtr(new imapCommand ("AUTHENTICATE", firstCommand.toLatin1())));
-
-- while ( true )
-- {
-+ int pl = 0;
-+ while ( pl != -1 && !cmd->isComplete () ) {
- //read the next line
-- while (parseLoop() == 0) {
-+ while ( ( pl = parseLoop() ) == 0) {
- ;
- }
-- if ( cmd->isComplete() ) break;
-
- if (!continuation.isEmpty())
- {