diff options
author | Herb Lewis <herb@samba.org> | 2000-10-12 15:41:16 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-10-12 15:41:16 +0000 |
commit | cae5eeb16e81b6aa95c68223268513c32aed7056 (patch) | |
tree | f97705e1283937e6ccdc0cee7768560888bb29f4 /source/smbd/sec_ctx.c | |
parent | 45632bb813da06d0139aa32b9ab99d472dcfaf25 (diff) | |
download | samba-cae5eeb16e81b6aa95c68223268513c32aed7056.tar.gz samba-cae5eeb16e81b6aa95c68223268513c32aed7056.tar.xz samba-cae5eeb16e81b6aa95c68223268513c32aed7056.zip |
use macros for incrementing profile counters
Diffstat (limited to 'source/smbd/sec_ctx.c')
-rw-r--r-- | source/smbd/sec_ctx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/smbd/sec_ctx.c b/source/smbd/sec_ctx.c index 6837a8d4f8d..1f20ef062e8 100644 --- a/source/smbd/sec_ctx.c +++ b/source/smbd/sec_ctx.c @@ -62,9 +62,7 @@ static BOOL become_uid(uid_t uid) set_effective_uid(uid); current_user.uid = uid; -#ifdef WITH_PROFILE - profile_p->uid_changes++; -#endif + DO_PROFILE_INC(uid_changes) return True; } |