mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r23167: Remove an unused parameter
This commit is contained in:
parent
3fa98245d9
commit
3452a870d5
@ -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)) {
|
||||
|
@ -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;
|
||||
|
@ -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++) {
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user