Skip to content

Commit 4256aaa

Browse files
committed
add more comments
1 parent 0d2b17c commit 4256aaa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/v5/mqtt5_options_storage.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3994,8 +3994,9 @@ struct aws_mqtt5_client_options_storage *aws_mqtt5_client_options_storage_new(
39943994
}
39953995

39963996
options_storage->connect = aws_mem_calloc(allocator, 1, sizeof(struct aws_mqtt5_packet_connect_storage));
3997+
// We pass in a NULL client option as we don't want to store extra metrics info in the connect storage here
39973998
int connect_storage_result =
3998-
aws_mqtt5_packet_connect_storage_init(options_storage->connect, allocator, &connect_options, options);
3999+
aws_mqtt5_packet_connect_storage_init(options_storage->connect, allocator, &connect_options, NULL);
39994000

40004001
aws_byte_buf_clean_up(&auto_assign_id_buf);
40014002
if (connect_storage_result != AWS_OP_SUCCESS) {

0 commit comments

Comments
 (0)