nsCOMPtr audit and remove my stupid debugging comment

This commit is contained in:
alecf%netscape.com 1999-05-14 00:21:52 +00:00
Родитель 3854b9471e
Коммит d5a67a4a1e
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -55,11 +55,9 @@ nsGetMailboxRoot(const char *hostname, nsFileSpec &result)
if (NS_FAILED(rv)) return rv;
// use enumeration function to find the first Pop server
nsISupports *serverSupports = hosts->ElementAt(0);
nsCOMPtr<nsISupports> serverSupports = getter_AddRefs(hosts->ElementAt(0));
#ifdef DEBUG_alecf
if (hosts->Count() <= 0)
fprintf(stderr, "Augh, no pop server named %s?\n", hostname);
if (!serverSupports)
fprintf(stderr, "Huh, serverSupports returned nsnull\n");
#endif