mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
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:
parent
69117c67e9
commit
9066c1f10d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user