nsCOMPtr audit and remove my stupid debugging comment

git-svn-id: svn://10.0.0.236/trunk@31528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
1999-05-14 00:21:52 +00:00
parent bb9c1eb65d
commit 47b40b7f14

View File

@@ -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