summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-09 06:36:04 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-09 06:36:04 +0000
commite10ba4b97a219e87b62d32834bf15ed2e323ed2e (patch)
treee5bfcb33fa3bdaf8621d938fd9b9e7e34bee291d /source/client
parente789179dfda669bd768720cb3732cf56a49027b5 (diff)
downloadsamba-e10ba4b97a219e87b62d32834bf15ed2e323ed2e.tar.gz
samba-e10ba4b97a219e87b62d32834bf15ed2e323ed2e.tar.xz
samba-e10ba4b97a219e87b62d32834bf15ed2e323ed2e.zip
bracket some macros
change MAX_PASSWORD_LENGTH to MAX_PASS_LEN to prevent conflict on some systems add #ifdef around soft link dependent code (for systems that don't have soft links)
Diffstat (limited to 'source/client')
-rw-r--r--source/client/clientutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/clientutil.c b/source/client/clientutil.c
index ed5497782b3..01b4a093214 100644
--- a/source/client/clientutil.c
+++ b/source/client/clientutil.c
@@ -460,7 +460,7 @@ BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setu
/* send a session setup command */
bzero(outbuf,smb_size);
- if (passlen > MAX_PASSWORD_LENGTH) {
+ if (passlen > MAX_PASS_LEN) {
DEBUG(1,("password too long %d\n", passlen));
return False;
}