add unique session id

This commit is contained in:
Ron Pedde 2003-11-14 22:37:35 +00:00
parent c7b28232c2
commit 8bf0c61357

View File

@ -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) {