if (*line == CR || *line == LF)
if (*line == nsCRT::CR || *line == nsCRT::LF)
MimeExternalBody_parse_line (char *line, PRInt32 length, MimeObject *obj){  MimeExternalBody *bod = (MimeExternalBody *) obj;  int status = 0;  PR_ASSERT(line && *line);  if (!line || !*line) return -1;  if (!obj->output_p) return 0;  /* If we're supposed to write this object, but aren't supposed to convert	 it to HTML, simply pass it through unaltered. */  if (obj->options &&	  !obj->options->write_html_p &&	  obj->options->output_fn)	return MimeObject_write(obj, line, length, PR_TRUE);  /* If we already have a `body' then we're done parsing headers, and all	 subsequent lines get tacked onto the body. */  if (bod->body)	{	  int L = nsCRT::strlen(bod->body);	  char *new_str = (char *)PR_Realloc(bod->body, L + length + 1);	  if (!new_str) return MIME_OUT_OF_MEMORY;	  bod->body = new_str;	  nsCRT::memcpy(bod->body + L, line, length);	  bod->body[L + length] = 0;	  return 0;	}  /* Otherwise we don't yet have a body, which means we're not done parsing	 our headers.   */  if (!bod->hdrs)	{	  bod->hdrs = MimeHeaders_new();	  if (!bod->hdrs) return MIME_OUT_OF_MEMORY;	}  status = MimeHeaders_parse_line(line, length, bod->hdrs);  if (status < 0) return status;  /* If this line is blank, we're now done parsing headers, and should	 create a dummy body to show that.  Gag.   */  if (*line == CR || *line == LF)	{	  bod->body = nsCRT::strdup("");	  if (!bod->body) return MIME_OUT_OF_MEMORY;	}  return 0;}