summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-04-15 04:07:10 +0000
committerJeremy Allison <jra@samba.org>2006-04-15 04:07:10 +0000
commit32b864ba3002cef4fb1a26c4437fdaacd7501a40 (patch)
tree35cc5a4d18f42122598b87afd5fe9e795808dae7 /source/include
parentb1698bdaf498e55eab3c77387bdc0eadc5f00420 (diff)
downloadsamba-32b864ba3002cef4fb1a26c4437fdaacd7501a40.tar.gz
samba-32b864ba3002cef4fb1a26c4437fdaacd7501a40.tar.xz
samba-32b864ba3002cef4fb1a26c4437fdaacd7501a40.zip
r15088: Remove all time() and gettimeofday() calls out of the mainline
packet processing code. Only do these when needed (ie. in the idle timeout code). We drop an unneccessary global here too. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index be994a9fdd8..f6ee4297025 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -567,6 +567,7 @@ typedef struct connection_struct {
NT_USER_TOKEN *nt_user_token;
time_t lastused;
+ time_t lastused_count;
BOOL used;
int num_files_open;
unsigned int num_smb_operations; /* Count of smb operations on this tree. */