summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-11 00:32:31 +0000
committerTim Potter <tpot@samba.org>2004-10-11 00:32:31 +0000
commit0bf94369732087618fe5a4fef7644af58730f5a3 (patch)
tree670b99f4333480b7d21ff8d7baf41e305df2d61e /source/smbd
parent8ba7f67d3ea638b64d6ef001bef9c61e7bb33fc7 (diff)
downloadsamba-0bf94369732087618fe5a4fef7644af58730f5a3.tar.gz
samba-0bf94369732087618fe5a4fef7644af58730f5a3.tar.xz
samba-0bf94369732087618fe5a4fef7644af58730f5a3.zip
r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD.
Bugzilla #1903.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/chgpasswd.c2
-rw-r--r--source/smbd/password.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index f8636be351f..c91f8599c96 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -456,7 +456,7 @@ BOOL chgpasswd(const char *name, const struct passwd *pass,
DEBUG(3, ("chgpasswd: Password change (as_root=%s) for user: %s\n", BOOLSTR(as_root), name));
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
DEBUG(100, ("chgpasswd: Passwords: old=%s new=%s\n", oldpass, newpass));
#endif
diff --git a/source/smbd/password.c b/source/smbd/password.c
index cf3c3d64d20..eb389d7013d 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -473,7 +473,7 @@ BOOL authorise_login(int snum, fstring user, DATA_BLOB password,
{
BOOL ok = False;
-#if DEBUG_PASSWORD
+#ifdef DEBUG_PASSWORD
DEBUG(100,("authorise_login: checking authorisation on user=%s pass=%s\n",
user,password.data));
#endif