diff options
author | Gregor Beck <gbeck@sernet.de> | 2012-08-27 15:12:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-10-19 12:14:59 +0200 |
commit | 77906e7cdf4c40ab860af8bb42e2c5f3b5501e7d (patch) | |
tree | d6ccbe9f9fb897a3d4eaef08613d798468c041d8 /source3/smbd/proto.h | |
parent | b237bbc0d1afdfea3b6b6335854f92d6fe80a151 (diff) | |
download | samba-77906e7cdf4c40ab860af8bb42e2c5f3b5501e7d.tar.gz samba-77906e7cdf4c40ab860af8bb42e2c5f3b5501e7d.tar.bz2 samba-77906e7cdf4c40ab860af8bb42e2c5f3b5501e7d.zip |
s3:count_current_connections: do not clear orphaned entries from connections.tdb
This removes one of the last callers of connetions_forall.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index f1b359f917..a71547678f 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -161,7 +161,7 @@ void msg_force_tdis(struct messaging_context *msg, /* The following definitions come from smbd/connection.c */ bool yield_connection(connection_struct *conn, const char *name); -int count_current_connections( const char *sharename, bool clear ); +int count_current_connections(const char *sharename, bool verify); bool connections_snum_used(struct smbd_server_connection *unused, int snum); bool claim_connection(connection_struct *conn, const char *name); |