diff options
author | guy <guy> | 2004-12-28 22:29:44 +0000 |
---|---|---|
committer | guy <guy> | 2004-12-28 22:29:44 +0000 |
commit | 9ce2222dfe0350ab2535775a14e49139fc033f3d (patch) | |
tree | 7a2b01adb3ca046dabe7ad8e11e2be39710e3c70 /smb.h | |
parent | 922c8688c12fa46fe7d7061f3be813efa25d9d17 (diff) | |
download | tcpdump-9ce2222dfe0350ab2535775a14e49139fc033f3d.tar.gz |
Correctly handle Unicode strings - skip padding to put them on a 2-byte
boundary, and base the Unicode-vs-non-Unicode decision on the "strings
are Unicode" bit in Flags2, except for those few strings that are always
ASCII, rather than doing a heuristic check.
Fix the padding in FindFirst2 requests.
Diffstat (limited to 'smb.h')
-rw-r--r-- | smb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/smb.h,v 1.8 2002-06-11 17:09:00 itojun Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/tcpdump/smb.h,v 1.9 2004-12-28 22:29:44 guy Exp $ (LBL) */ /* * Copyright (C) Andrew Tridgell 1995-1999 * @@ -119,4 +119,4 @@ #define PTR_DIFF(p1, p2) ((size_t)(((char *)(p1)) - (char *)(p2))) /* some protos */ -const u_char *smb_fdata(const u_char *, const char *, const u_char *); +const u_char *smb_fdata(const u_char *, const char *, const u_char *, int); |