summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2001-07-02 16:25:00 +0000
committerChristopher R. Hertel <crh@samba.org>2001-07-02 16:25:00 +0000
commit56b2a0c1140e27eef879de0bb7deb570652d8334 (patch)
treed01234098a3d707c1564f9786f112ffb498fda95 /source3
parente682d6d54e3f23266e3a75d1461e8dff2d729006 (diff)
downloadsamba-56b2a0c1140e27eef879de0bb7deb570652d8334.tar.gz
samba-56b2a0c1140e27eef879de0bb7deb570652d8334.tar.bz2
samba-56b2a0c1140e27eef879de0bb7deb570652d8334.zip
Very minor cleanup. I was looking for another problem and found some bits
of code that were unclear. Chris -)----- (This used to be commit c2977be3408645499915d728538ba2c65b97614f)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/mangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index 1cc602dc05..61af1f7ded 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -113,7 +113,7 @@ extern BOOL case_mangle; /* If true, all chars in 8.3 should be same case. */
char magic_char = '~';
static char basechars[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_-!@#$%";
-#define MANGLE_BASE (sizeof(basechars)/sizeof(char)-1)
+#define MANGLE_BASE ( (sizeof(basechars)/sizeof(char)) - 1 )
static unsigned char chartest[256] = { 0 };
static BOOL ct_initialized = False;
@@ -124,7 +124,7 @@ static BOOL ct_initialized = False;
#define isbasechar(C) ( (chartest[ ((C) & 0xff) ]) & BASECHAR_MASK )
#define isillegal(C) ( (chartest[ ((C) & 0xff) ]) & ILLEGAL_MASK )
-static ubi_cacheRoot mangled_cache[1] = { { { 0, 0, 0, 0 }, 0, 0, 0, 0, 0, 0 } };
+static ubi_cacheRoot mangled_cache[1] = {{ { 0, 0, 0, 0 }, 0, 0, 0, 0, 0, 0 }};
static BOOL mc_initialized = False;
#define MANGLED_CACHE_MAX_ENTRIES 0
#define MANGLED_CACHE_MAX_MEMORY 16384