aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netperfmeter.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-11-13 00:02:48 +0000
committerBill Meier <wmeier@newsguy.com>2009-11-13 00:02:48 +0000
commitec097d99817da930daa32e7602733241111fe010 (patch)
treeb0b323731875c15dd1563bd21a9ecfe59280955b /epan/dissectors/packet-netperfmeter.c
parent23df4e7f01744225dab519fa3905f558367e7d62 (diff)
(Trivial): check_col() guard not needed for col_set_str; #include <stdio.h> not req'd.
svn path=/trunk/; revision=30946
Diffstat (limited to 'epan/dissectors/packet-netperfmeter.c')
-rw-r--r--epan/dissectors/packet-netperfmeter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-netperfmeter.c b/epan/dissectors/packet-netperfmeter.c
index 1ee0962566..42125c3b4f 100644
--- a/epan/dissectors/packet-netperfmeter.c
+++ b/epan/dissectors/packet-netperfmeter.c
@@ -33,7 +33,6 @@
#endif
#include <epan/packet.h>
-#include <stdio.h>
static int proto_npmp = -1;
@@ -395,7 +394,7 @@ dissect_npmp(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *npmp_tree;
/* pinfo is NULL only if dissect_npmp_message is called from dissect_error cause */
- if (pinfo && (check_col(pinfo->cinfo, COL_PROTOCOL)))
+ if (pinfo)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "NetPerfMeterProtocol");
/* In the interest of speed, if "tree" is NULL, don't do any work not