| 1845 | } |
| 1846 | |
| 1847 | static pcontext_t *psocket_context(psocket_t *ps) { |
| 1848 | if (ps->listener) |
| 1849 | return &ps->listener->context; |
| 1850 | pconnection_t *pc = as_pconnection_t(ps); |
| 1851 | return &pc->context; |
| 1852 | } |
| 1853 | |
| 1854 | |
| 1855 | // Call wih lock held |
no test coverage detected