status = COM_MimeObject_write(obj, htmlLine, PL_strlen(htmlLine), PR_TRUE);
status = COM_MimeObject_write(obj, htmlLine, nsCRT::strlen(htmlLine), PR_TRUE);
static int OutputTableRowOrData(MimeObject *obj, PRBool outputRow, 								PRBool end, char * align, 								char* valign, char* colspan,								char* width){	int status = 0;	char * htmlLine = NULL;	if (end)		if (outputRow)			status = WriteEachLineToStream (obj, "</TR>");		else			status = WriteEachLineToStream (obj, "</TD>");	else	{		int htmlLen = PL_strlen("<TR>") + 1;		if (align)			htmlLen += PL_strlen(" ALIGN=") + PL_strlen(align);		if (colspan)			htmlLen += PL_strlen(" COLSPAN=") + PL_strlen(colspan);		if (width)			htmlLen += PL_strlen(" WIDTH=") + PL_strlen(width);		if (valign)			htmlLen += PL_strlen(" VALIGN=") + PL_strlen(valign);		if (align || valign || colspan || width)			htmlLen++;		htmlLine = (char *) PR_MALLOC (htmlLen);		if (htmlLine)		{			htmlLine[0] = '\0';			if (outputRow)				PL_strcat (htmlLine, "<TR");			else				PL_strcat (htmlLine, "<TD");			if (align)			{					PL_strcat (htmlLine, " ALIGN=");				PL_strcat (htmlLine, align);			}			if (valign)			{					PL_strcat (htmlLine, " VALIGN=");				PL_strcat (htmlLine, valign);			}			if (colspan)			{					PL_strcat (htmlLine, " COLSPAN=");				PL_strcat (htmlLine, colspan);			}			if (width)			{					PL_strcat (htmlLine, " WIDTH=");				PL_strcat (htmlLine, width);			}			if (align || valign || colspan || width)				PL_strcat (htmlLine, " ");			PL_strcat (htmlLine, ">");			status = COM_MimeObject_write(obj, htmlLine, PL_strlen(htmlLine), PR_TRUE);			PR_Free ((void*) htmlLine);		}		else			status = VCARD_OUT_OF_MEMORY;	}	return status;}