git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d757d6
)
s3:libsmb: clistr_pull_talloc() doesn't need base_ptr and flags2 with STR_ASCII
author
Stefan Metzmacher
<metze@samba.org>
Fri, 8 Jul 2011 10:35:36 +0000
(12:35 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 8 Jul 2011 12:09:10 +0000
(14:09 +0200)
interpret_short_filename() always parses OEM_Strings (in DOS charset).
metze
source3/libsmb/clilist.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clilist.c
b/source3/libsmb/clilist.c
index 2c8a3288459cfde9da87b0efec9a7580804b87ee..1aa5699be55a1be9b31ae2a5e301bdb95d6f53a8 100644
(file)
--- a/
source3/libsmb/clilist.c
+++ b/
source3/libsmb/clilist.c
@@
-254,8
+254,8
@@
static bool interpret_short_filename(TALLOC_CTX *ctx,
finfo->mtime_ts.tv_nsec = finfo->atime_ts.tv_nsec = 0;
finfo->size = IVAL(p,26);
ret = clistr_pull_talloc(ctx,
-
cli->inbuf
,
-
SVAL(cli->inbuf, smb_flg2)
,
+
NULL
,
+
0
,
&finfo->name,
p+30,
12,