1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 19:22:22 -05:00

Caldav: Fix regression in calendar REPORT with Lightning

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@390 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-23 14:17:07 +00:00
parent 758391571e
commit fa32f8ae4d

View File

@ -150,7 +150,7 @@ public class CaldavConnection extends AbstractConnection {
} catch (IOException e) { } catch (IOException e) {
DavGatewayTray.error(e); DavGatewayTray.error(e);
try { try {
sendErr(HttpStatus.SC_INTERNAL_SERVER_ERROR, e); sendErr(HttpStatus.SC_SERVICE_UNAVAILABLE, e);
} catch (IOException e2) { } catch (IOException e2) {
DavGatewayTray.debug("Exception sending error to client", e2); DavGatewayTray.debug("Exception sending error to client", e2);
} }
@ -468,7 +468,7 @@ public class CaldavConnection extends AbstractConnection {
} }
} }
} else { } else {
events = new ArrayList<ExchangeSession.Event>(); events = session.getAllEvents();
} }
StringBuilder buffer = new StringBuilder(); StringBuilder buffer = new StringBuilder();