aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netperfmeter.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-13 00:02:48 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-11-13 00:02:48 +0000
commit97aa955ebe0b443634f2418706a23aff439d2476 (patch)
treeb0b323731875c15dd1563bd21a9ecfe59280955b /epan/dissectors/packet-netperfmeter.c
parent296a2ea8b52434f20a7ab2cacea41a058e81c889 (diff)
(Trivial): check_col() guard not needed for col_set_str; #include <stdio.h> not req'd.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30946 f5534014-38df-0310-8fa8-9805f1628bb7
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