status = MimeObject_write(obj, html, PL_strlen(html), PR_TRUE);
status = MimeObject_write(obj, html, nsCRT::strlen(html), PR_TRUE);
MimeInlineImage_parse_begin (MimeObject *obj){  MimeInlineImage *img = (MimeInlineImage *) obj;  MimeInlineImageClass *clazz;  int status;  status = ((MimeObjectClass*)&MIME_SUPERCLASS)->parse_begin(obj);  if (status < 0) return status;  if (!obj->output_p) return 0;  if (!obj->options || !obj->options->output_fn)	return 0;  clazz = (MimeInlineImageClass *) obj->clazz;  if (obj->options &&	  obj->options->image_begin &&	  obj->options->write_html_p &&	  obj->options->image_write_buffer)	{	  char *html, *part, *image_url;	  const char *ct;	  part = mime_part_address(obj);	  if (!part) return MIME_OUT_OF_MEMORY;	  image_url = mime_set_url_part(obj->options->url, part, PR_TRUE);	  if (!image_url)		{		  PR_Free(part);		  return MIME_OUT_OF_MEMORY;		}	  PR_Free(part);	  ct = obj->content_type;	  if (!ct) ct = IMAGE_GIF;  /* Can't happen?  Close enough. */	  img->image_data =		obj->options->image_begin(image_url, ct, obj->options->stream_closure);	  PR_Free(image_url);	  if (!img->image_data) return MIME_OUT_OF_MEMORY;	  html = obj->options->make_image_html(img->image_data);	  if (!html) return MIME_OUT_OF_MEMORY;	  status = MimeObject_write(obj, html, PL_strlen(html), PR_TRUE);	  PR_Free(html);	  if (status < 0) return status;	}  return 0;}