diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-27 16:22:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:51 -0500 |
commit | f3c477c631e7318ccaa6f277731b721a462112b8 (patch) | |
tree | 9b52288e5101dfac0e1ae4ca8ac3d22b48637952 /source3 | |
parent | e5e33247ff9abe01a87bd7b8ebd050c549e2814f (diff) | |
download | samba-f3c477c631e7318ccaa6f277731b721a462112b8.tar.gz samba-f3c477c631e7318ccaa6f277731b721a462112b8.tar.bz2 samba-f3c477c631e7318ccaa6f277731b721a462112b8.zip |
r23167: Remove an unused parameter
(This used to be commit 3452a870d58cdddf03ddf6ee698bca8416e05cbf)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/printing.c | 2 | ||||
-rw-r--r-- | source3/smbd/connection.c | 3 | ||||
-rw-r--r-- | source3/smbd/negprot.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 | ||||
-rw-r--r-- | source3/smbd/service.c | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 6101f9a0f5..780880cbe7 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1396,7 +1396,7 @@ void start_background_queue(void) /* Child. */ DEBUG(5,("start_background_queue: background LPQ thread started\n")); - claim_connection( NULL, "smbd lpq backend", 0, False, + claim_connection( NULL, "smbd lpq backend", 0, FLAG_MSG_GENERAL|FLAG_MSG_SMBD|FLAG_MSG_PRINT_GENERAL); if (!locking_init(0)) { diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index b9cdede69e..1069f95ed8 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -166,7 +166,8 @@ int count_all_current_connections(void) Claim an entry in the connections database. ****************************************************************************/ -BOOL claim_connection(connection_struct *conn, const char *name,int max_connections,BOOL Clear, uint32 msg_flags) +BOOL claim_connection(connection_struct *conn, const char *name, + int max_connections, uint32 msg_flags) { struct connections_key key; struct connections_data crec; diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 12b1e84600..7aa9725062 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -584,7 +584,7 @@ int reply_negprot(connection_struct *conn, when the client connects to port 445. Of course there is a small window where we are listening to messages -- jerry */ - claim_connection(NULL,"",0,True,FLAG_MSG_GENERAL|FLAG_MSG_SMBD|FLAG_MSG_PRINT_GENERAL); + claim_connection(NULL,"",0,FLAG_MSG_GENERAL|FLAG_MSG_SMBD|FLAG_MSG_PRINT_GENERAL); /* Check for protocols, most desirable first */ for (protocol = 0; supported_protocols[protocol].proto_name; protocol++) { diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 6746271c09..3a2895cfcb 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1040,7 +1040,7 @@ extern void build_options(BOOL screen); /* Setup the main smbd so that we can get messages. */ /* don't worry about general printing messages here */ - claim_connection(NULL,"",0,True,FLAG_MSG_GENERAL|FLAG_MSG_SMBD); + claim_connection(NULL,"",0,FLAG_MSG_GENERAL|FLAG_MSG_SMBD); /* only start the background queue daemon if we are running as a daemon -- bad things will happen if diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 6d2cdff594..5b087fd583 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -993,7 +993,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser, if (!claim_connection(conn, lp_servicename(snum), lp_max_connections(snum), - False,0)) { + 0)) { DEBUG(1,("too many connections - rejected\n")); conn_free(conn); *status = NT_STATUS_INSUFFICIENT_RESOURCES; |