aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-05 08:37:47 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-05 08:37:47 +0000
commitb3cd1eb8d74a31ba2bc5ee1ed49dce6402b1ed59 (patch)
treee26f5e50c2ba92bf15cc7df61fc5703ef6cee728 /packet-mmse.c
parent89a2075b73dccd7befd9fd83dde3e2bc7b4a7715 (diff)
From Jan Kratochvil: fix MMSE handling of strings with specified
character set. svn path=/trunk/; revision=5951
Diffstat (limited to 'packet-mmse.c')
-rw-r--r--packet-mmse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-mmse.c b/packet-mmse.c
index b2fa2b62e7..ccd5b4a59b 100644
--- a/packet-mmse.c
+++ b/packet-mmse.c
@@ -2,7 +2,7 @@
* Routines for MMS Message Encapsulation dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
- * $Id: packet-mmse.c,v 1.14 2002/08/02 23:35:54 jmayer Exp $
+ * $Id: packet-mmse.c,v 1.15 2002/08/05 08:37:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -263,7 +263,7 @@ get_encoded_strval(tvbuff_t *tvb, guint offset, char *strval)
/* \todo Something with "Char-set", skip for now */
tvb_memcpy(tvb, strval, offset + count + 1, length - 1);
strval[length - 1] = '\0'; /* Just to make sure */
- return offset + count + length;
+ return count + length;
} else
return get_text_string(tvb, offset, strval);
}