Change m0id_scope to m_0id_id in order to fix the problem where the list of msg headers was always empty...

This commit is contained in:
mscott%netscape.com 1999-03-11 20:22:41 +00:00
parent 69117c67e9
commit 9066c1f10d

View File

@ -1420,7 +1420,7 @@ NS_IMETHODIMP nsMsgDatabase::ListAllKeys(nsMsgKeyArray &outputKeys)
err = rowCursor->NextRowOid(GetEnv(), &outOid, &outPos);
// is this right? Mork is returning a 0 id, but that should valid.
if (outPos < 0 || outOid.mOid_Scope == 0)
if (outPos < 0 || outOid.mOid_Id == -1)
break;
if (err == NS_OK)
outputKeys.Add(outOid.mOid_Id);