nsStringKey hashKey(key);
nsCStringKey hashKey(key);
nsMsgAccountManager::GetIdentity(const char* key,                                 nsIMsgIdentity **_retval){  if (!_retval) return NS_ERROR_NULL_POINTER;  nsresult rv;  // check for the identity in the hash table  nsStringKey hashKey(key);  nsISupports *idsupports = (nsISupports*)m_identities.Get(&hashKey);  nsCOMPtr<nsIMsgIdentity> identity = do_QueryInterface(idsupports, &rv);  if (NS_SUCCEEDED(rv)) {    *_retval = identity;    NS_ADDREF(*_retval);    return NS_OK;  }  // identity doesn't exist. create it.  rv = createKeyedIdentity(key, _retval);  return rv;}