mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Fix for 149759. Commit the db changes in ConvertLDIFtoMAB(). r=naving, sr=sspitzer.
This commit is contained in:
parent
c0054a7dfa
commit
13010d6e69
@ -1280,8 +1280,10 @@ NS_IMETHODIMP nsAddressBook::ConvertLDIFtoMAB(nsIFileSpec *fileSpec, PRBool migr
|
||||
rv = abParser.ParseFile();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = fileSpec->CloseStream();
|
||||
return rv;
|
||||
fileSpec->CloseStream();
|
||||
|
||||
// Commit the changes.
|
||||
return(db->Commit(nsAddrDBCommitType::kLargeCommit));
|
||||
}
|
||||
|
||||
#define CSV_DELIM ","
|
||||
|
Loading…
Reference in New Issue
Block a user