Skip to content

Commit

Permalink
Merge pull request #19 from ol-imorozko/fix_socket_cache
Browse files Browse the repository at this point in the history
Change server_sockets_num to client_sockets_num
  • Loading branch information
schumilo committed Sep 22, 2022
2 parents a2403be + fc0b0ec commit ef990c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer/linux_x86_64-userspace/src/netfuzz/socket_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void add_client_socket(interfaces_t* connection, int socket){
DEBUG("%s: %d\n", __func__, socket);

if(!check_server_socket(connection, socket)){
assert(connection->server_sockets_num < 8);
assert(connection->client_sockets_num < 8);
connection->client_sockets[connection->client_sockets_num] = socket;
connection->client_sockets_num++;
}
Expand Down

0 comments on commit ef990c6

Please sign in to comment.