findEntry.key = key;
nsMsgAccountManager::getUniqueAccountKey(const char *prefix,                                         nsISupportsArray *accounts){  PRInt32 i=1;  char key[30];  PRBool unique = PR_FALSE;    findAccountByKeyEntry findEntry;  findEntry.key = key;  findEntry.account = nsnull;    do {    PR_snprintf(key, 10, "%s%d", prefix, i++);        accounts->EnumerateForwards(findAccountByKey, (void *)&findEntry);    if (!findEntry.account) unique=PR_TRUE;    findEntry.account = nsnull;  } while (!unique);  return nsCRT::strdup(key);}