aboutsummaryrefslogtreecommitdiffstats
path: root/epan/conversation.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-04-19 05:49:38 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-04-19 05:49:38 +0000
commit61cda0a6c45b7c41fa60e420893ed79e39803c7c (patch)
tree1ed6678f3cf3df1003585868da8ff23030f700df /epan/conversation.c
parent82a60c13d04875c7951435adee4e78c221b5b8e8 (diff)
From Evan Huus: Convert a few instances in conversation.c to use the new macro. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7142
svn path=/trunk/; revision=42138
Diffstat (limited to 'epan/conversation.c')
-rw-r--r--epan/conversation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/conversation.c b/epan/conversation.c
index 177bb151f7..55e8cd8917 100644
--- a/epan/conversation.c
+++ b/epan/conversation.c
@@ -666,7 +666,7 @@ conversation_new(const guint32 setup_frame, const address *addr1, const address
void
conversation_set_port2(conversation_t *conv, const guint32 port)
{
- DISSECTOR_ASSERT(!(conv->options & CONVERSATION_TEMPLATE) &&
+ DISSECTOR_ASSERT_HINT(!(conv->options & CONVERSATION_TEMPLATE),
"Use the conversation_create_from_template function when the CONVERSATION_TEMPLATE bit is set in the options mask");
/*
@@ -696,7 +696,7 @@ conversation_set_port2(conversation_t *conv, const guint32 port)
void
conversation_set_addr2(conversation_t *conv, const address *addr)
{
- DISSECTOR_ASSERT(!(conv->options & CONVERSATION_TEMPLATE) &&
+ DISSECTOR_ASSERT_HINT(!(conv->options & CONVERSATION_TEMPLATE),
"Use the conversation_create_from_template function when the CONVERSATION_TEMPLATE bit is set in the options mask");
/*