From kopete-devel Mon Apr 29 12:33:10 2002 From: Andres Krapf Date: Mon, 29 Apr 2002 12:33:10 +0000 To: kopete-devel Subject: [Kopete-devel] [PATCH] KMMFactory bugfix X-MARC-Message: https://marc.info/?l=kopete-devel&m=102008376925915 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_AJXBR2CA4WNBGMA6E8BW" --------------Boundary-00=_AJXBR2CA4WNBGMA6E8BW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit patch attached... fixes an indefinite loop. cheers, -- Andres --------------Boundary-00=_AJXBR2CA4WNBGMA6E8BW Content-Type: text/x-diff; charset="us-ascii"; name="kmmfactory.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kmmfactory.patch" Index: libkopete/kopetemessagemanagerfactory.cpp =================================================================== RCS file: /home/kde/kdenonbeta/kopete/libkopete/kopetemessagemanagerfactory.cpp,v retrieving revision 1.7 diff -u -r1.7 kopetemessagemanagerfactory.cpp --- libkopete/kopetemessagemanagerfactory.cpp 27 Apr 2002 09:15:09 -0000 1.7 +++ libkopete/kopetemessagemanagerfactory.cpp 29 Apr 2002 12:25:18 -0000 @@ -42,7 +42,7 @@ kdDebug() << "[KopeteMessageManagerFactory] User match, looking session members" << endl; KopeteContact *tmp_contact; KopeteContactList contactlist = tmp->contacts(); - for ( tmp_contact = contactlist.first(); tmp ; tmp_contact = contactlist.next() ) + for ( tmp_contact = contactlist.first(); tmp_contact ; tmp_contact = contactlist.next() ) { if ( !contacts.containsRef( tmp_contact ) ) { --------------Boundary-00=_AJXBR2CA4WNBGMA6E8BW-- _______________________________________________ Kopete-devel mailing list Kopete-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/kopete-devel