calendar file backend: white list check for supported CalObjModType
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 12 May 2011 07:48:37 +0000 (09:48 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 7 Jun 2011 09:35:45 +0000 (11:35 +0200)
commitbbe2d0a49089ee9f5522ce2749a009c730dd9079
tree6475d8976cb51aa4f0486842506588036b10b767
parente6eb665600248a28bccf268be70d5d3ffcdadb62
calendar file backend: white list check for supported CalObjModType

Explicitly check that the CalObjModType is supported before
starting to work on the appointment. Relies in libecal to reject
completely bogus modes with an "invalid parameter" error.
calendar/backends/file/e-cal-backend-file.c