Added missing close of the temporary keyring file.

Now the keyring is saved properly and the newly added keys are not lost after shutdown of RetroShare.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-09-07 23:32:55 +00:00
parent fb389f6116
commit 29d7217c64

View File

@ -1058,8 +1058,7 @@ ops_boolean_t ops_write_keyring_to_file(const ops_keyring_t *keyring,ops_boolean
// fprintf(stdout, "\n") ;
// }
ops_writer_close(info);
ops_create_info_delete(info);
ops_teardown_file_write(info, fd);
return ops_true ;
}