Skip to content

Commit

Permalink
From Alexis La Goutte via bug 5514:
Browse files Browse the repository at this point in the history
Fix a Git issue.

svn path=/trunk/; revision=35243
  • Loading branch information
stigbjorlykke committed Dec 22, 2010
1 parent fc4d25f commit f4c6355
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions epan/dissectors/packet-git.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,10 @@ dissect_git_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)

if (git_tree)
{
tvbuff_t *subtvb;
proto_tree_add_uint(git_tree, hf_git_packet_len, tvb, offset,
4, plen);

subtvb = tvb_new_subset(tvb, offset+4, plen-4, plen-4);
proto_tree_add_item(git_tree, hf_git_packet_data, subtvb, offset+4,
proto_tree_add_item(git_tree, hf_git_packet_data, tvb, offset+4,
plen-4, FALSE);
}
}
Expand Down

0 comments on commit f4c6355

Please sign in to comment.