Bug 186724 mailbox service NewURI doesn't check to see if SetSpec failed..

patch by andersma@charter.net r=darin sr=dmose
This commit is contained in:
timeless%mozdev.org 2005-11-14 11:10:32 +00:00
parent e683206716
commit c13ce74f62

View File

@ -551,7 +551,8 @@ NS_IMETHODIMP nsMailboxService::NewURI(const nsACString &aSpec,
}
else
{
aMsgUri->SetSpec(aSpec);
rv = aUrl->SetSpec(aSpec);
NS_ENSURE_SUCCESS(rv, rv);
}
NS_ADDREF(*_retval = aMsgUri);
}