From kde-commits Mon Jul 25 13:41:20 2005 From: Will Stephenson Date: Mon, 25 Jul 2005 13:41:20 +0000 To: kde-commits Subject: KDE/kdepim/kresources/groupwise/soap Message-Id: <1122298880.079821.17097.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112229898209306 SVN commit 438600 by wstephens: Update the calendar reading algorithm, so that the calendar is fetched completely M +1 -2 gwjobs.cpp --- trunk/KDE/kdepim/kresources/groupwise/soap/gwjobs.cpp #438599:438600 @@ -559,7 +559,7 @@ } readItems += readCursorResponse.items->item.size(); kdDebug() << " just read " << readCursorResponse.items->item.size() << " items" << endl; - if ( readCursorResponse.items->item.size() < readChunkSize ) + if ( readCursorResponse.items->item.size() == 0 ) break; } else @@ -575,7 +575,6 @@ destReq.container = id; destReq.cursor = cursor; mSoap->header->ngwt__session = mSession; - kdDebug() << "sending destroy calendar cursor request with session: " << mSession.c_str() << endl; if ( soap_call___ngw__destroyCursorRequest( mSoap, mUrl.latin1(), 0, &destReq, &destResp ) != SOAP_OK )