aboutsummaryrefslogtreecommitdiffstats
path: root/epan/camel-persistentdata.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-24 15:13:05 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-24 15:13:05 +0000
commitef9180b030e02fdc5dc5e885e25f65e67bef6d88 (patch)
tree9a188d2d80980ebea720a1dae2699741dfb18627 /epan/camel-persistentdata.c
parentcb801710ba3e784e5523ab8e170eb0f128905108 (diff)
From Evan Huus:
Simplify debugging ifdef in camel-persistantdata.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7398 svn path=/trunk/; revision=43456
Diffstat (limited to 'epan/camel-persistentdata.c')
-rw-r--r--epan/camel-persistentdata.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/camel-persistentdata.c b/epan/camel-persistentdata.c
index 8abfecb242..3afb7f11d1 100644
--- a/epan/camel-persistentdata.c
+++ b/epan/camel-persistentdata.c
@@ -172,15 +172,13 @@ find_camelsrt_call(struct camelsrt_call_info_key_t *p_camelsrt_call_key)
struct camelsrt_call_t *p_camelsrt_call = NULL;
p_camelsrt_call = (struct camelsrt_call_t *)g_hash_table_lookup(srt_calls, p_camelsrt_call_key);
- if(p_camelsrt_call) {
#ifdef DEBUG_CAMELSRT
+ if(p_camelsrt_call) {
dbg(10,"D%d ", p_camelsrt_call->session_id);
-#endif
} else {
-#ifdef DEBUG_CAMELSRT
dbg(23,"Not in hash ");
-#endif
}
+#endif
return p_camelsrt_call;
}