mirror of
https://github.com/samba-team/samba.git
synced 2025-11-15 16:23:49 +03:00
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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
16455c5b34
commit
4d0ed04c54
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user