From 763c4bc9acc0e9162bcb7c8e487522fa62aedae6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 14 Apr 2004 01:09:41 +0000 Subject: 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) --- source4/include/smb_interfaces.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/include') 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; }; -- cgit