diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/socket_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index d40f8b6..ece5a10 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -1733,7 +1733,7 @@ static void swrap_remove_stale(int fd) SWRAP_DLIST_REMOVE(socket_fds, fi); free(fi); - si = &sockets[fi->si_index]; + si = &sockets[si_index]; si->refcount--; if (si->refcount > 0) { |
