From 07fdfa2ce9762557c3be632f3e438a1f59970c5c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 8 Jan 2005 00:51:12 +0000 Subject: r4601: Removed any use of the MAX_XXX_STR style definitions. A little larger change than I'd hoped for due to formating changes to tidy up code. Jeremy. (This used to be commit a348f9221a9fe719dc6f0db6eb295575c2f95e1e) --- source3/include/rpc_misc.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3/include/rpc_misc.h') diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index ee8208e90ea..6abc85a4cac 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -124,11 +124,6 @@ typedef struct unihdr2_info uint32 buffer; /* 32 bit buffer pointer */ } UNIHDR2; -/* clueless as to what maximum length should be */ -#define MAX_UNISTRLEN 256 -#define MAX_STRINGLEN 256 -#define MAX_BUFFERLEN 512 - /* UNISTR - unicode string size and buffer */ typedef struct unistr_info { @@ -408,7 +403,7 @@ BUFHDR4; typedef struct buffer4_info { uint32 buf_len; - uint8 buffer[MAX_BUFFERLEN]; + uint8 *buffer; } BUFFER4; -- cgit