diff options
author | Jeremy Allison <jra@samba.org> | 2004-04-14 01:09:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:16 -0500 |
commit | 763c4bc9acc0e9162bcb7c8e487522fa62aedae6 (patch) | |
tree | ffae228aeff71474e37b484c1cfd61b5213c5a01 /source4/include | |
parent | 6f47ce8b6c2e78d02d08b975488242ba93e52a4b (diff) | |
download | samba-763c4bc9acc0e9162bcb7c8e487522fa62aedae6.tar.gz samba-763c4bc9acc0e9162bcb7c8e487522fa62aedae6.tar.bz2 samba-763c4bc9acc0e9162bcb7c8e487522fa62aedae6.zip |
r204: Turns out that the string in the SEARCH unix_info level is that
rare thing, a non-length string (ie. not a WIRE_STRING) but a null
terminated char string. There wasn't a good interface to pull that
out of a blob (all the string interfaces assumed WIRE_STRINGS). Added
a new one, only used for this call. Sucks, I know - but the alternatives
suck more. Added tests for some of the unix info returned.
Jeremy.
(This used to be commit 4d0ed04c54b105789ffd32334c3b0e544f02418c)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/smb_interfaces.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index 6f6213931c..1f6208cdb5 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -1919,7 +1919,7 @@ union smb_search_data { large_t unique_id; large_t permissions; large_t nlink; - WIRE_STRING name; + const char *name; } unix_info; }; |