mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -05:00
[raop] Save verification key to db immediately after verification
This commit is contained in:
parent
f33b6dbfbf
commit
f4e171db75
@ -4227,9 +4227,12 @@ raop_cb_verification_setup_step3(struct evrtsp_request *req, void *arg)
|
||||
|
||||
DPRINTF(E_LOG, L_RAOP, "Verification setup stage complete, saving authorization key\n");
|
||||
|
||||
// Dereferencing output_device and a blocking db call... :-~
|
||||
free(rs->device->auth_key);
|
||||
rs->device->auth_key = strdup(authorization_key);
|
||||
|
||||
db_speaker_save(rs->device);
|
||||
|
||||
// The player considers this session failed, so we don't need it any more
|
||||
raop_session_cleanup(rs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user