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

List:       kde-commits
Subject:    KDE/kdepim/kresources/groupwise/soap
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2005-06-30 14:51:47
Message-ID: 1120143107.572630.1120.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 430222 by wstephens:

Fix logic error in the new calendar load algorithm preventing all items
getting loaded


 M  +2 -2      gwjobs.cpp  


--- trunk/KDE/kdepim/kresources/groupwise/soap/gwjobs.cpp #430221:430222
@@ -387,7 +387,7 @@
   readCursorRequest.count = (int*)soap_malloc( mSoap, sizeof(int) );
   *( readCursorRequest.count ) = (int)readChunkSize;
 
-  while ( readItems < count )
+  while ( true )
   {
     mSoap->header->ngwt__session = mSession;
     kdDebug() << "sending readCursorRequest with session: " << mSession.c_str() << endl;
@@ -399,7 +399,7 @@
       kdDebug() << "Faults according to GSOAP:" << endl;
       soap_print_fault(mSoap, stderr);
       kdDebug() << "EXITING" << endl;
-      return;
+      break;
     }
   
     if ( readCursorResponse.items ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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