We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6986985 commit 0b2fa3dCopy full SHA for 0b2fa3d
plugins/filter_modify/modify.c
@@ -1181,6 +1181,8 @@ static inline int apply_rule_UTF8(msgpack_packer * packer,
1181
msgpack_pack_map(packer, map->via.map.size);
1182
for (i = 0; i < map->via.map.size; i++) {
1183
msgpack_pack_object(packer, map->via.map.ptr[i].key);
1184
+
1185
+ /* Do UTF8 encoding for this value? */
1186
if (map->via.map.ptr[i].val.type == MSGPACK_OBJECT_STR &&
1187
kv_key_matches_str_rule_key(&map->via.map.ptr[i], rule)) {
1188
size_t size = 0;
@@ -1216,7 +1218,6 @@ static inline int apply_rule_UTF8(msgpack_packer * packer,
1216
1218
free(buffer);
1217
1219
}
1220
-
1221
1222
msgpack_pack_object(packer, map->via.map.ptr[i].val);
1223
0 commit comments