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
1 changed files with 2 additions and 2 deletions

View File

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