From 7a42a9da7d26ce4635aa479f93de6794317b2f29 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 12 Oct 2000 15:41:16 +0000 Subject: use macros for incrementing profile counters (This used to be commit cae5eeb16e81b6aa95c68223268513c32aed7056) --- source3/smbd/process.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/smbd/process.c') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 1599ade12d..dc56534edb 100644 --- a/source3/smbd/process.c +++ b/source3/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 -- cgit