*uri = PR_smprintf("%s%s#%d", kImapMessageRootURI, (const char *) tailURI, key);  return NS_OK;
nsresult nsBuildImapMessageURI(const char *baseURI, PRUint32 key, char** uri){		if(!uri)		return NS_ERROR_NULL_POINTER;	nsCAutoString tailURI(baseURI);	if (tailURI.Find(kImapRootURI) == 0)		tailURI.Cut(0, PL_strlen(kImapRootURI));	*uri = PR_smprintf("%s%s#%d", kImapMessageRootURI, (const char *) tailURI, key);	return NS_OK;}