aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-22 21:52:09 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-22 21:52:09 +0000
commit3eb8f4ecdd80a3b9c1631db409f0b9dd97e4c45b (patch)
treea448372a8b434b624eccd4a16cd74fc674c3da8d /packet-dns.c
parent1157a3998b902eea4d6792452cf95ae455491020 (diff)
Add some necessary "volatile" declarations.
svn path=/trunk/; revision=4788
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c
index d123829315..6d0af374ae 100644
--- a/packet-dns.c
+++ b/packet-dns.c
@@ -1,7 +1,7 @@
/* packet-dns.c
* Routines for DNS packet disassembly
*
- * $Id: packet-dns.c,v 1.82 2002/02/22 11:28:03 guy Exp $
+ * $Id: packet-dns.c,v 1.83 2002/02/22 21:52:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1952,7 +1952,7 @@ dissect_dns_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static void
dissect_dns_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- int offset = 0;
+ volatile int offset = 0;
int length_remaining;
guint16 plen;
int length;