/* Now that we've processed this message, we don't need it
* anymore. So delete it.
*/
- CtdlDeleteMessages(CC->room.QRname, msgnum, "", 1);
+ CtdlDeleteMessages(CC->room.QRname, &msgnum, 1, "", 1);
/* Free the memory we allocated and return a response. */
icalcomponent_free(ird.cal);
/* Now that we've processed this message, we don't need it
* anymore. So delete it. (Maybe make this optional?)
*/
- CtdlDeleteMessages(CC->room.QRname, msgnum, "", 1);
+ CtdlDeleteMessages(CC->room.QRname, &msgnum, 1, "", 1);
/* Free the memory we allocated and return a response. */
icalcomponent_free(ird.cal);
* the entire calendar with an entire new (or updated) calendar.
* (Careful: this opens an S_ROOMS critical section!)
*/
- CtdlDeleteMessages(CC->room.QRname, 0L, "", 0);
+ CtdlDeleteMessages(CC->room.QRname, NULL, 0, "", 0);
/* If the top-level component is *not* a VCALENDAR, we can drop it right
* in. This will almost never happen.