aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-mailslot.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-04-13 22:04:50 +0000
committerGerald Combs <gerald@wireshark.org>2005-04-13 22:04:50 +0000
commitcea394348c196c71af23df0baf3805dde77a1443 (patch)
tree016289af8dcc3df53fc265dd6764e72427fd6fec /epan/dissectors/packet-smb-mailslot.c
parent37c30f6c63b36b6bff8e114883ec9e98723ea882 (diff)
Fix a bug introduced by my previous checkin.
svn path=/trunk/; revision=14067
Diffstat (limited to 'epan/dissectors/packet-smb-mailslot.c')
-rw-r--r--epan/dissectors/packet-smb-mailslot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb-mailslot.c b/epan/dissectors/packet-smb-mailslot.c
index b16ecb02c0..904172d4df 100644
--- a/epan/dissectors/packet-smb-mailslot.c
+++ b/epan/dissectors/packet-smb-mailslot.c
@@ -103,9 +103,11 @@ dissect_mailslot_smb(tvbuff_t *mshdr_tvb, tvbuff_t *setup_tvb,
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SMB Mailslot");
}
- if (check_col (pinfo->cinfo, COL_INFO) && ((tvb==NULL) || (tvb_reported_length(tvb)==0))) {
+ if ((tvb==NULL) || (tvb_reported_length(tvb)==0)) {
/* Interim reply */
- col_set_str(pinfo->cinfo, COL_INFO, "Interim reply");
+ if (check_col (pinfo->cinfo, COL_INFO)) {
+ col_set_str(pinfo->cinfo, COL_INFO, "Interim reply");
+ }
return TRUE;
}