зеркало из https://github.com/mozilla/gecko-dev.git
nsCOMPtr audit and remove my stupid debugging comment
This commit is contained in:
Родитель
3854b9471e
Коммит
d5a67a4a1e
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче