Ethereal-dev: [Ethereal-dev] [PATCH]Typo in packet-wsp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Loïc Minier <lool+ethereal@xxxxxxxxxx>
Date: Tue, 28 Oct 2003 16:41:10 +0100
     Hello list,

 Attached trivial patch fix typo in packet-wsp.c (useless double check).

 I checked the WINA site to be sure, it's at:
    <http://www.wapforum.org/wina/wsp-content-type.htm>

 (Anyone heard of 0x0B-0x0F content-types ?)


   Regards,

-- 
Loïc Minier <lool@xxxxxxxx>
Index: packet-wsp.c
===================================================================
RCS file: /cvsroot/ethereal/packet-wsp.c,v
retrieving revision 1.78
diff -u -b -r1.78 packet-wsp.c
--- packet-wsp.c	11 Oct 2003 00:10:58 -0000	1.78
+++ packet-wsp.c	28 Oct 2003 15:37:32 -0000
@@ -4192,7 +4192,7 @@
 			add_post_variable (sub_tree, tvb, variableStart, variableEnd, valueStart, offset);
 		}
 	}
-	else if ((contentType == 0x22) || (contentType == 0x23) || (contentType == 0x23) || (contentType == 0x24) ||
+	else if ((contentType == 0x22) || (contentType == 0x23) || (contentType == 0x24) ||
 		 (contentType == 0x25) || (contentType == 0x26) || (contentType == 0x33))
 	{
 		add_multipart_data(sub_tree, tvb);