Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Bouzas
WirePlumber
Commits
56f12047
Commit
56f12047
authored
Dec 17, 2019
by
George Kiagiadakis
Browse files
module-session: debug default endpoint changes
parent
1586d731
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/module-session.c
View file @
56f12047
...
...
@@ -51,8 +51,11 @@ select_new_default_ep (struct module_data * data, WpDefaultEndpointType type,
}
def_id
=
wp_session_get_default_endpoint
(
WP_SESSION
(
data
->
session
),
type
);
if
(
def_id
!=
best_id
)
if
(
def_id
!=
best_id
)
{
g_debug
(
"selecting default endpoint for type %x, old:%u, new:%u"
,
type
,
def_id
,
best_id
);
wp_session_set_default_endpoint
(
WP_SESSION
(
data
->
session
),
type
,
best_id
);
}
}
static
void
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment