diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-11-15 19:44:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-11-15 19:44:24 +0000 |
commit | 519b219ae8ae33c4756252be7ba8ea356125dc2b (patch) | |
tree | 388a8f0f384b2119ffaf30e7f2d668585d58f87a /epan | |
parent | e7e9d3d8b7b39260224cfc1288c29b202d4de71e (diff) |
Squelch a warning. (This code probably needs a review; we really need a
better general framework for parsing text-based protocols.)
svn path=/trunk/; revision=39866
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++; |