Skip to content

Commit aa35324

Browse files
committed
fix entry_param.value
1 parent a2a881e commit aa35324

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/mqtt_iot_metrics.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ static int s_parse_delimited_entries(
107107
entry_param.key.len = equals_pos.ptr - entry_cursor.ptr;
108108
aws_byte_cursor_advance(&entry_cursor, entry_param.key.len + 1);
109109
entry_param.value.ptr = entry_cursor.ptr;
110+
entry_param.value.len = entry_cursor.len;
110111
} else {
111112
/* No equals sign, treat entire entry as key */
112113
entry_param.key = entry_cursor;

0 commit comments

Comments
 (0)