mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-26 12:59:19 -05:00
Move daap_session_kill() higher up
No functional changes.
This commit is contained in:
parent
affbae1c47
commit
8c2def5ef5
@ -516,6 +516,12 @@ daap_session_compare(const void *aa, const void *bb)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
daap_session_kill(struct daap_session *s)
|
||||
{
|
||||
avl_delete(daap_sessions, s);
|
||||
}
|
||||
|
||||
static struct daap_session *
|
||||
daap_session_register(void)
|
||||
{
|
||||
@ -547,12 +553,6 @@ daap_session_register(void)
|
||||
return s;
|
||||
}
|
||||
|
||||
static void
|
||||
daap_session_kill(struct daap_session *s)
|
||||
{
|
||||
avl_delete(daap_sessions, s);
|
||||
}
|
||||
|
||||
struct daap_session *
|
||||
daap_session_find(struct evhttp_request *req, struct evkeyvalq *query, struct evbuffer *evbuf)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user