mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
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:
parent
fb389f6116
commit
29d7217c64
@ -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 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user