Skip to content
Snippets Groups Projects
Commit ef55878e authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Fix a typo.

parent 087e25af
No related branches found
No related tags found
No related merge requests found
......@@ -605,7 +605,7 @@ static struct socket *find_socket_by_live_fd(
{
struct socket *socket = NULL;
for (socket = state->sockets; socket != NULL; socket = socket->next)
if (!socket->is_closed & (socket->live.fd == live_fd)) {
if (!socket->is_closed && (socket->live.fd == live_fd)) {
assert(socket->live.fd >= 0);
assert(socket->script.fd >= 0);
return socket;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment