[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [PATCH] for #71614 - msg size not correct when filtering incoming
From:       Andreas Gungl <a.gungl () gmx ! de>
Date:       2004-01-02 12:34:57
Message-ID: 200401021335.07511 () gungl-dd ! de
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

please review the attached patch which fixes the problem. I'm not sure about 
possible side effects as I didn't deal with the POP implementation before.

Andreas
- -- 
    ~
  ' v '
 //   \\
/(     )\  Powered by Penguin.
  ^ ' ^

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/9WV4VhjiFd4beU8RAjXqAKDLHheC74O5nOvxRPMvllENU44/cQCgyt9q
qHef+JwkBIgoC5IJgrFFwto=
=JixF
-----END PGP SIGNATURE-----

["kmacctexppop.cpp.diff" (text/x-diff)]

Index: kmacctexppop.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/kmacctexppop.cpp,v
retrieving revision 1.144
diff -u -3 -p -r1.144 kmacctexppop.cpp
--- kmacctexppop.cpp	23 Oct 2003 18:09:14 -0000	1.144
+++ kmacctexppop.cpp	2 Jan 2004 12:30:55 -0000
@@ -366,7 +366,7 @@ void KMAcctExpPop::slotMsgRetrieved(KIO:
   } else {
     kdDebug(5006) << "stage == Retr" << endl;
     kdDebug(5006) << QString( "curMsgData.size() %1" ).arg( curMsgData.size() ) << endl;
-
+    msg->setMsgLength( curMsgData.size() );
     msgsAwaitingProcessing.append(msg);
     msgIdsAwaitingProcessing.append(idsOfMsgs[indexOfCurrentMsg]);
     msgUidsAwaitingProcessing.append(uidsOfMsgs[indexOfCurrentMsg]);


_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic