diff options
author | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 23:33:59 +0000 |
---|---|---|
committer | sfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 23:33:59 +0000 |
commit | 8ea340306825c985a2aa7ff3627eaa11f2191cb1 (patch) | |
tree | b36110afc68a7ba9397b69c7f4c504f922ad36c9 /epan/dissectors/packet-bittorrent.c | |
parent | cb28e1ade10677703a85b875c7ca84b7bd7bdd9b (diff) |
Fix a warning in packet-bittorrent.c I didn't fix right the first time and try to get the Win32 buildbot going again in packet-ndmp.c.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21238 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bittorrent.c')
-rw-r--r-- | epan/dissectors/packet-bittorrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bittorrent.c b/epan/dissectors/packet-bittorrent.c index 1806671bcd..a299a0792f 100644 --- a/epan/dissectors/packet-bittorrent.c +++ b/epan/dissectors/packet-bittorrent.c @@ -711,7 +711,7 @@ static void dissect_bittorrent_welcome (tvbuff_t *tvb, packet_info *pinfo _U_, p client ids beginning with '-' and 3 characters for the rest. */ version = tvb_get_string(tvb, offset + strlen(peer_id[i].id), - ((guint8*)peer_id[i].id[0] == '-') ? 4 : 3); + (guint8*)(peer_id[i].id[0] == '-') ? 4 : 3); proto_tree_add_text(tree, tvb, offset, 20, "Client is %s v%s", peer_id[i].name, format_text((guchar*)version, (peer_id[i].id[0] == '-') ? 4 : 3)); |