Skip to content

Commit d0a0fcf

Browse files
deadlightrealMorcules
authored andcommitted
small issue
1 parent 925aaaa commit d0a0fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/initialize_swift_net.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ void swiftnet_initialize() {
7878

7979
close(temp_socket);
8080

81-
packet_queue_node_memory_allocator = allocator_create(sizeof(PacketQueueNode), 100);
82-
packet_callback_queue_node_memory_allocator = allocator_create(sizeof(PacketCallbackQueueNode), 100);
81+
packet_queue_node_memory_allocator = allocator_create(sizeof(struct PacketQueueNode), 100);
82+
packet_callback_queue_node_memory_allocator = allocator_create(sizeof(struct PacketCallbackQueueNode), 100);
8383
server_packet_data_memory_allocator = allocator_create(sizeof(struct SwiftNetServerPacketData), 100);
8484
client_packet_data_memory_allocator = allocator_create(sizeof(struct SwiftNetClientPacketData), 100);
8585
packet_buffer_memory_allocator = allocator_create(maximum_transmission_unit + sizeof(struct ether_header), 100);

0 commit comments

Comments
 (0)