mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
add unique session id
This commit is contained in:
parent
c7b28232c2
commit
8bf0c61357
@ -190,7 +190,7 @@ DAAP_BLOCK *daap_response_login(void) {
|
|||||||
root=daap_add_empty(NULL,"mlog");
|
root=daap_add_empty(NULL,"mlog");
|
||||||
if(root) {
|
if(root) {
|
||||||
g = (int)daap_add_int(root,"mstt",200);
|
g = (int)daap_add_int(root,"mstt",200);
|
||||||
g = g && daap_add_int(root,"mlid",7); /* static id! */
|
g = g && daap_add_int(root,"mlid",config_get_next_session());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!g) {
|
if(!g) {
|
||||||
|
Loading…
Reference in New Issue
Block a user