diff options
author | Herb Lewis <herb@samba.org> | 2000-10-12 15:43:49 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-10-12 15:43:49 +0000 |
commit | a8d784c7160451f0be25f747c1cdfd039729f600 (patch) | |
tree | bd03305083c761a8d76028dbcb5fd6b03f2c3598 /source/smbd/process.c | |
parent | abb2147fdc171d4a7dc1eaea2f84d6fb7585f2a0 (diff) | |
download | samba-a8d784c7160451f0be25f747c1cdfd039729f600.tar.gz samba-a8d784c7160451f0be25f747c1cdfd039729f600.tar.xz samba-a8d784c7160451f0be25f747c1cdfd039729f600.zip |
use macros for incrementing profile counters
Diffstat (limited to 'source/smbd/process.c')
-rw-r--r-- | source/smbd/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c index 1599ade12d6..dc56534edb1 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -636,9 +636,7 @@ void process_smb(char *inbuf, char *outbuf) int32 len = smb_len(inbuf); int nread = len + 4; -#ifdef WITH_PROFILE - profile_p->smb_count++; -#endif + DO_PROFILE_INC(smb_count); if (trans_num == 0) { /* on the first packet, check the global hosts allow/ hosts |