mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
adding some debugging printfs, for my benefit. no reviewer.
This commit is contained in:
parent
b56712bb9d
commit
47d0f8f4ea
@ -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;
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user