len1 = PL_strlen(s1); len2 = PL_strlen(s2);
len1 = nsCRT::strlen(s1); len2 = nsCRT::strlen(s2);
msg_format_Header_addresses (const char *names, const char *addrs,							 int count, PRBool wrap_lines_p){	char *result, *out;	const char *s1, *s2;	PRUint32 i, size = 0;	PRUint32 column = 10;  PRUint32   len1, len2;	if (count <= 0)		return 0;	s1 = names;	s2 = addrs;	for (i = 0; (int)i < count; i++)	{		len1 = PL_strlen(s1);		len2 = PL_strlen(s2);		s1 += len1 + 1;		s2 += len2 + 1;		size += len1 + len2 + 10;	}	result = (char *)PR_Malloc(size + 1);	if (!result) return 0;	out = result;	s1 = names;	s2 = addrs;	for (i = 0; (int)i < count; i++)	{		char *o;		len1 = PL_strlen(s1);		len2 = PL_strlen(s2);		if (   wrap_lines_p && i > 0		    && (column + len1 + len2 + 3 + (((int)(i+1) < count) ? 2 : 0) > 76))		{			if (out > result && out[-1] == ' ')				out--;			*out++ = CR;			*out++ = LF;			*out++ = '\t';			column = 8;		}		o = out;		if (len1)		{			nsCRT::memcpy(out, s1, len1);			out += len1;			*out++ = ' ';			*out++ = '<';		}		nsCRT::memcpy(out, s2, len2);		out += len2;		if (len1)			*out++ = '>';		if ((int)(i+1) < count)		{			*out++ = ',';			*out++ = ' ';		}		s1 += len1 + 1;		s2 += len2 + 1;		column += (out - o);	}	*out = 0;	return result;}