if ((*uri = nsCRT::strdup("rdf:internetsearch")) == nsnull)
if ((*uri = nsXPIDLCString::Copy("rdf:internetsearch")) == nsnull)
InternetSearchDataSource::GetURI(char **uri){	NS_PRECONDITION(uri != nsnull, "null ptr");	if (! uri)		return NS_ERROR_NULL_POINTER;	if ((*uri = nsCRT::strdup("rdf:internetsearch")) == nsnull)		return NS_ERROR_OUT_OF_MEMORY;	return NS_OK;}