Revert "In get_unicode_or_ascii_string(), check if the length is odd/even, not the...
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Jan 2014 10:51:04 +0000 (11:51 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Jan 2014 08:15:44 +0000 (09:15 +0100)
commit9332172e67fbff984882a9a210cab545751cc371
treea7ea21b749ebe20b3599a9696bb5ab6db7db1fdf
parent3fe527d5e64732fce33286d9902cd665d7ee44ac
Revert "In get_unicode_or_ascii_string(), check if the length is odd/even, not the offset.  Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5778 - Volume label field ... is not displayed correctly ..."

This is wrong it breaks all sort of things. The "Volume label field"
is a special case, which can be fixed by using nopad=TRUE.

Change-Id: I3cd3f30ff0076d5e31a735391b175fd68e5fa142
Signed-off-by: Stefan Metzmacher <metze@samba.org>
epan/dissectors/packet-smb-common.c