Skip to content

Commit

Permalink
HevSocketFactory: Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Apr 9, 2024
1 parent e713f9f commit b546368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hev-socket-factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ hev_socket_factory_get (HevSocketFactory *self)
}

res = setsockopt (fd, SOL_SOCKET, SO_REUSEADDR, &one, sizeof (one));
if (fd < 0) {
if (res < 0) {
LOG_E ("socket factory reuse");
goto exit_close;
}
Expand Down

0 comments on commit b546368

Please sign in to comment.