- /*
- * Store in local table listener the index of the transport layer
- * listener. We'll need if if local listeners are hit and we need to
- * return global handle
- */
- if (ll_handle != SESSION_INVALID_HANDLE)
- {
- local_session_t *ll;
- session_t *tl;
- ll = application_get_local_listener_w_handle (ll_handle);
- tl = listen_session_get_from_handle (a->handle);
- if (ll->transport_listener_index == ~0)
- ll->transport_listener_index = tl->session_index;
- }
- return rv;