diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-29 19:18:43 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-29 19:18:43 +0000 |
commit | 3f01f6ac6d5b5a00268eb79fa0775993a2356f79 (patch) | |
tree | 9c3eb54af8b4c8bb99e71983b18303164f465177 /epan/gcp.c | |
parent | d2c1fdb1d79d0d71375c3e34edf8b3aa7fe16ad7 (diff) |
Fixed an if-check in gcp_analyze_msg().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30198 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/gcp.c')
-rw-r--r-- | epan/gcp.c | 2 |
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); |