aboutsummaryrefslogtreecommitdiffstats
path: root/epan/gcp.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-09-29 19:18:43 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-09-29 19:18:43 +0000
commit92a02af7205c6f0c0d72d8b59085fe86bcf8172e (patch)
tree9c3eb54af8b4c8bb99e71983b18303164f465177 /epan/gcp.c
parentad14865ce011da76d381b3dc9163bffabd5a51ce (diff)
Fixed an if-check in gcp_analyze_msg().
svn path=/trunk/; revision=30198
Diffstat (limited to 'epan/gcp.c')
-rw-r--r--epan/gcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/gcp.c b/epan/gcp.c
index aa83ac07a3..46a5933d3d 100644
--- a/epan/gcp.c
+++ b/epan/gcp.c
@@ -703,7 +703,7 @@ void gcp_analyze_msg(proto_tree* gcp_tree, tvbuff_t* gcp_tvb, gcp_msg_t* m, gcp_
PROTO_ITEM_SET_GENERATED(ctx_item);
- if (( c = ctx->cmds )) {
+ if (ctx->cmds) {
proto_item* history_item = proto_tree_add_text(ctx_tree,gcp_tvb,0,0,"[ Command History ]");
proto_tree* history_tree = proto_item_add_subtree(history_item,ids->ett.ctx_cmds);