diff options
Diffstat (limited to 'agent/component.c')
-rw-r--r-- | agent/component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/component.c b/agent/component.c index a98c14e..b4dd95f 100644 --- a/agent/component.c +++ b/agent/component.c @@ -510,7 +510,7 @@ component_detach_socket (Component *component, NiceSocket *nicesock) nice_debug ("Detach socket %p.", nicesock); /* Find the SocketSource for the socket. */ - l = g_slist_find_custom (component->socket_sources, socket, + l = g_slist_find_custom (component->socket_sources, nicesock, _find_socket_source); if (l == NULL) return; |