Skip to content

Commit

Permalink
Ignore unknown enum value when ignore_unknown specified (#7455) (#7462)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeBoring committed May 6, 2020
1 parent ef7cc81 commit d001f8c
Show file tree
Hide file tree
Showing 5 changed files with 3,007 additions and 2,755 deletions.
4 changes: 2 additions & 2 deletions php/ext/google/protobuf/map.c
Expand Up @@ -516,8 +516,8 @@ bool map_done(MapIter *iter) {
}

const char *map_iter_key(MapIter *iter, int *len) {
*len = upb_strtable_iter_keylength(&iter->it);
return upb_strtable_iter_key(&iter->it);
*len = upb_strtable_iter_key(&iter->it).size;
return upb_strtable_iter_key(&iter->it).data;
}

upb_value map_iter_value(MapIter *iter, int *len) {
Expand Down

0 comments on commit d001f8c

Please sign in to comment.