from Thomas Boehne: don't put code before a declaration - that's a

GCCism.

De-@ify Marten Svantesson's e-mail address.

svn path=/trunk/; revision=12028
This commit is contained in:
Guy Harris 2004-09-17 09:30:41 +00:00
parent 99c29819b7
commit 6bc5ac3949
2 changed files with 6 additions and 3 deletions

View File

@ -2282,7 +2282,8 @@ Neil Piercy <Neil.Piercy [AT] ipaccess.com>
Rémi Denis-Courmont <courmisch [AT] via.ecp.fr>
Francisco Alcoba <francisco.alcoba [AT] ericsson.com>
Thomas Palmer <tpalmer [AT] elmore.rr.com>
Mårten Svantesson <f95-msv@f.kth.se>
Mårten Svantesson <f95-msv [AT] f.kth.se>
Thomas Boehne <TBoehne [AT] ADwin.de>
Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to
give his permission to use his version of snprintf.c.

View File

@ -730,8 +730,10 @@ static void dissect_aim_snac(tvbuff_t *tvb, packet_info *pinfo,
}
if(flags & FNAC_FLAG_CONTAINS_VERSION) {
guint16 len = tvb_get_ntohs(tvb, offset); offset+=2;
int oldoffset = offset;
guint16 len = tvb_get_ntohs(tvb, offset);
int oldoffset;
offset+=2;
oldoffset = offset;
while(offset < oldoffset + len) {
offset = dissect_aim_tlv(tvb, pinfo, offset, aim_tree, fnac_tlvs);