Again, leave the SET_ADDRESS() stuff for IP to the IP dissector.
[obnox/wireshark/wip.git] / packet-wap.c
index a1ab508bb1962ac7b498575d42c92da866615e6b..fae9a8102279e47c66b019267696d1ee55cb6c99 100644 (file)
@@ -1,10 +1,12 @@
 /* packet-wap.c
  *
  * Utility routines for WAP dissectors
+ *
+ * $Id: packet-wap.c,v 1.4 2001/12/03 02:10:31 guy Exp $
  * 
  * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
- * Copyright 1998 Didier Jorand
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 1998 Gerald Combs
  *
  * WAP dissector based on original work by Ben Fowler
  * Updated by Neil Hunter <neil.hunter@energis-squared.com>
@@ -57,13 +59,13 @@ tvb_get_guintvar (tvbuff_t *tvb, guint offset, guint *octetCount)
 #ifdef DEBUG
                fprintf (stderr, "dissect_wsp: Starting tvb_get_guintvar at offset %d, count=NULL\n", offset);
 #endif
+               /* counter = *octetCount; */
        }
        else
        {
 #ifdef DEBUG
                fprintf (stderr, "dissect_wsp: Starting tvb_get_guintvar at offset %d, count=%d\n", offset, *octetCount);
 #endif
-               counter = *octetCount;
        }
 
        while (cont != 0)