adding some debugging printfs, for my benefit. no reviewer.

This commit is contained in:
sspitzer%netscape.com 2001-02-17 02:21:44 +00:00
parent b56712bb9d
commit 47d0f8f4ea
2 changed files with 7 additions and 0 deletions

View File

@ -1000,6 +1000,10 @@ NS_IMETHODIMP nsMsgDatabase::Commit(nsMsgDBCommit commitType)
nsresult err = NS_OK;
nsIMdbThumb *commitThumb = NULL;
#ifdef DEBUG_seth
printf("nsMsgDatabase::Commit(%d)\n",commitType);
#endif
if (commitType == nsMsgDBCommitType::kLargeCommit || commitType == nsMsgDBCommitType::kSessionCommit)
{
mdb_percent outActualWaste = 0;

View File

@ -517,6 +517,9 @@ nsNntpIncomingServer::GetNntpConnection(nsIURI * aUri, nsIMsgWindow *aMsgWindow,
rv = m_connectionCache->Count(&cnt);
if (NS_FAILED(rv)) return rv;
#ifdef DEBUG_seth
printf("XXX there are %d nntp connections in the conn cache.\n", (int)cnt);
#endif
for (PRUint32 i = 0; i < cnt && isBusy; i++)
{
aSupport = getter_AddRefs(m_connectionCache->ElementAt(i));