diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-15 19:44:24 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-15 19:44:24 +0000 |
commit | b79c5cba1fd8e7c017c77a4b4260712bb3c69236 (patch) | |
tree | 388a8f0f384b2119ffaf30e7f2d668585d58f87a /epan | |
parent | cac003330a35bcb7d9a07b13c9edace4d15cda3c (diff) |
Squelch a warning. (This code probably needs a review; we really need a
better general framework for parsing text-based protocols.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39866 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index 7a26c576f4..720f7c3274 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -1502,6 +1502,7 @@ dissect_sip_contact_item(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gi queried_offset = current_offset; while(current_offset< line_end_offset){ + c = '\0'; while (queried_offset < line_end_offset) { queried_offset++; |