svn commit: samba r23167 - in branches: SAMBA_3_0/source/printing
SAMBA_3_0/source/smbd SAMBA_3_0_26/source/printing
SAMBA_3_0_26/source/smbd
vlendec at samba.org
vlendec at samba.org
Sun May 27 16:22:13 GMT 2007
Author: vlendec
Date: 2007-05-27 16:22:12 +0000 (Sun, 27 May 2007)
New Revision: 23167
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23167
Log:
Remove an unused parameter
Modified:
branches/SAMBA_3_0/source/printing/printing.c
branches/SAMBA_3_0/source/smbd/connection.c
branches/SAMBA_3_0/source/smbd/negprot.c
branches/SAMBA_3_0/source/smbd/server.c
branches/SAMBA_3_0/source/smbd/service.c
branches/SAMBA_3_0_26/source/printing/printing.c
branches/SAMBA_3_0_26/source/smbd/connection.c
branches/SAMBA_3_0_26/source/smbd/negprot.c
branches/SAMBA_3_0_26/source/smbd/server.c
branches/SAMBA_3_0_26/source/smbd/service.c
Changeset:
Modified: branches/SAMBA_3_0/source/printing/printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/printing.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0/source/printing/printing.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -1396,7 +1396,7 @@
/* 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)) {
Modified: branches/SAMBA_3_0/source/smbd/connection.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/connection.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0/source/smbd/connection.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -166,7 +166,8 @@
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;
Modified: branches/SAMBA_3_0/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/negprot.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0/source/smbd/negprot.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -584,7 +584,7 @@
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++) {
Modified: branches/SAMBA_3_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/server.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0/source/smbd/server.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -1040,7 +1040,7 @@
/* 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
Modified: branches/SAMBA_3_0/source/smbd/service.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/service.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0/source/smbd/service.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -993,7 +993,7 @@
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;
Modified: branches/SAMBA_3_0_26/source/printing/printing.c
===================================================================
--- branches/SAMBA_3_0_26/source/printing/printing.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0_26/source/printing/printing.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -1396,7 +1396,7 @@
/* 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)) {
Modified: branches/SAMBA_3_0_26/source/smbd/connection.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/connection.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0_26/source/smbd/connection.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -138,7 +138,8 @@
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;
Modified: branches/SAMBA_3_0_26/source/smbd/negprot.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/negprot.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0_26/source/smbd/negprot.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -580,7 +580,7 @@
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++) {
Modified: branches/SAMBA_3_0_26/source/smbd/server.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/server.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0_26/source/smbd/server.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -1088,7 +1088,7 @@
/* 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
Modified: branches/SAMBA_3_0_26/source/smbd/service.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/service.c 2007-05-27 15:58:19 UTC (rev 23166)
+++ branches/SAMBA_3_0_26/source/smbd/service.c 2007-05-27 16:22:12 UTC (rev 23167)
@@ -892,7 +892,7 @@
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;
More information about the samba-cvs
mailing list