aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-19 21:51:30 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-19 21:51:30 +0000
commit3a4b7109fa468f5105b7474da8dca1a88f31dd9b (patch)
treee5af8709acf1e0e90db275d6cc016949c005d827 /epan/dissectors/packet-sip.c
parentc0b5b4e39531256bf36a6466b54516b0037b6983 (diff)
Simply this:
#define SIP2_HDR "SIP/2.0" #define SIP2_HDR_LEN ((gint)strlen (SIP2_HDR)) To this: #define SIP2_HDR "SIP/2.0" #define SIP2_HDR_LEN 7 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35588 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 11f21b9153..f06f3b72ca 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -756,7 +756,7 @@ static dissector_table_t media_type_dissector_table;
static heur_dissector_list_t heur_subdissector_list;
#define SIP2_HDR "SIP/2.0"
-#define SIP2_HDR_LEN ((gint)strlen (SIP2_HDR))
+#define SIP2_HDR_LEN 7
/* Store the info needed by the SIP tap for one packet */
static sip_info_value_t *stat_info;