int nl = name ? PL_strlen (name) : 0; int al = addr ? PL_strlen (addr) : 0;
int nl = name ? nsCRT::strlen (name) : 0; int al = addr ? nsCRT::strlen (addr) : 0;
msg_make_full_address(const char* name, const char* addr){	int nl = name ? PL_strlen (name) : 0;	int al = addr ? PL_strlen (addr) : 0;	char *buf, *s;	int L;	if (al == 0)		return 0;	buf = (char *)PR_Malloc((nl * 2) + (al * 2) + 20);	if (!buf)		return 0;	if (nl > 0)	{		PL_strcpy(buf, name);		L = msg_quote_phrase_or_addr(buf, nl, PR_FALSE);		s = buf + L;		*s++ = ' ';		*s++ = '<';	}	else	{		s = buf;	}	PL_strcpy(s, addr);	L = msg_quote_phrase_or_addr(s, al, PR_TRUE);	s += L;	if (nl > 0)		*s++ = '>';	*s = 0;	L = (s - buf) + 1;	buf = (char *)PR_Realloc (buf, L);	return buf;}