status = COM_MimeObject_write(obj, html, PL_strlen(html), TRUE);
status = COM_MimeObject_write(obj, html, PL_strlen(html), PR_TRUE);
MimeInlineTextCalendar_parse_eof (MimeObject *obj, PRBool abort_p){  int status = 0;  MimeInlineTextCalendarClass *clazz = ((MimeInlineTextCalendarClass *) obj->clazz);  char* html = NULL;    if (obj->closed_p) return 0;    /* Run parent method first, to flush out any buffered data. */  status = ((MimeObjectClass*)COM_GetmimeInlineTextClass())->parse_eof(obj, abort_p);  if (status < 0) return status;    if (!clazz->buffer || clazz->bufferlen == 0) return 0;    clazz->buffer[clazz->bufferlen] = '\0';    status = mime_TranslateCalendar(clazz->buffer, &html);  PR_Free(clazz->buffer);  clazz->buffer = NULL;  if (status < 0) return status;    status = COM_MimeObject_write(obj, html, PL_strlen(html), TRUE);  PR_Free(html);  if (status < 0) return status;    return 0;}