diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-10-28 17:59:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-10-28 17:59:29 +0000 |
commit | 836f12e2071a3e10d789b024728d83c67ce9a47c (patch) | |
tree | 7c6906eb88cb80fd09a2268ee5f716d2c6a5094e /packet-wsp.c | |
parent | fa3680223bde436236126d0dd16e606dea9eaa28 (diff) | |
download | wireshark-836f12e2071a3e10d789b024728d83c67ce9a47c.tar.gz wireshark-836f12e2071a3e10d789b024728d83c67ce9a47c.tar.bz2 wireshark-836f12e2071a3e10d789b024728d83c67ce9a47c.zip |
From Lo�c Minier: get rid of the second of a pair of identical checks.
As per a note by Olivier Biot, make the "multipart/XXX" items all lower
case.
svn path=/trunk/; revision=8802
Diffstat (limited to 'packet-wsp.c')
-rw-r--r-- | packet-wsp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-wsp.c b/packet-wsp.c index 7751494d93..8728c63585 100644 --- a/packet-wsp.c +++ b/packet-wsp.c @@ -2,7 +2,7 @@ * * Routines to dissect WSP component of WAP traffic. * - * $Id: packet-wsp.c,v 1.78 2003/10/11 00:10:58 guy Exp $ + * $Id: packet-wsp.c,v 1.79 2003/10/28 17:59:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -669,11 +669,11 @@ static const value_string vals_content_types[] = { { 0x08, "text/vnd.wap.wml" }, { 0x09, "text/vnd.wap.wmlscript" }, { 0x0A, "text/vnd.wap.channel" }, - { 0x0B, "Multipart/*" }, - { 0x0C, "Multipart/mixed" }, - { 0x0D, "Multipart/form-data" }, - { 0x0E, "Multipart/byteranges" }, - { 0x0F, "Multipart/alternative" }, + { 0x0B, "multipart/*" }, + { 0x0C, "multipart/mixed" }, + { 0x0D, "multipart/form-data" }, + { 0x0E, "multipart/byteranges" }, + { 0x0F, "multipart/alternative" }, { 0x10, "application/*" }, { 0x11, "application/java-vm" }, { 0x12, "application/x-www-form-urlencoded" }, @@ -4192,7 +4192,7 @@ add_post_data (proto_tree *tree, tvbuff_t *tvb, guint contentType, 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); |