r23167: Remove an unused parameter
authorVolker Lendecke <vlendec@samba.org>
Sun, 27 May 2007 16:22:12 +0000 (16:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:51 +0000 (12:22 -0500)
source/printing/printing.c
source/smbd/connection.c
source/smbd/negprot.c
source/smbd/server.c
source/smbd/service.c

index 6101f9a0f59a9e4bbaf1a5076abc4bcf877cbf51..780880cbe7e230876b7a084b3f63088fc7b5bbf9 100644 (file)
@@ -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)) {
index b9cdede69ed019435088cfb0711c84b5ad3ed555..1069f95ed83ea7da81079201d2d970f3b586c7eb 100644 (file)
@@ -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;
index 12b1e8460043a8f6ccc285f2b89c2007b27f753f..7aa97250629378281b3b138a999719bd19a47878 100644 (file)
@@ -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++) {
index 6746271c0940f926abd263a88a9ca98da3faba2c..3a2895cfcb2bf428a4670533fb300050648f331d 100644 (file)
@@ -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
index 6d2cdff59425242aef7b3c52703902731f69783c..5b087fd5833c8e8d7adc30e680172fd2dac94525 100644 (file)
@@ -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;