From 1f467d320036acae2c392619f84874894a4715a9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 11 Mar 2001 01:08:10 +0000 Subject: Sync include files between 2.2 and HEAD except for acoount info. Jeremy. (This used to be commit 73c7ace168e4aa6a47b366cf40ed6743a21d3638) --- source3/include/smb.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/smb.h b/source3/include/smb.h index 9b2d0ee5f9..ab1cd60f66 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -262,7 +262,7 @@ implemented */ #ifndef _PSTRING #define PSTRING_LEN 1024 -#define FSTRING_LEN 128 +#define FSTRING_LEN 256 typedef char pstring[PSTRING_LEN]; typedef char fstring[FSTRING_LEN]; @@ -278,8 +278,8 @@ typedef char fstring[FSTRING_LEN]; typedef uint16 smb_ucs2_t; /* ucs2 string types. */ -typedef smb_ucs2_t wpstring[1024]; -typedef smb_ucs2_t wfstring[128]; +typedef smb_ucs2_t wpstring[PSTRING_LEN]; +typedef smb_ucs2_t wfstring[FSTRING_LEN]; /* pipe string names */ #define PIPE_LANMAN "\\PIPE\\LANMAN" @@ -734,7 +734,7 @@ struct connections_data { gid_t gid; char name[24]; char addr[24]; - char machine[128]; + char machine[FSTRING_LEN]; time_t start; }; -- cgit