summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2012-11-13 13:53:35 -0800
committerJeremy Allison <jra@samba.org>2012-11-14 02:19:46 +0100
commitd10c7378d96d322910e87c21a1a3a3b28b229687 (patch)
treedac13d947376649540144b951a2fc16ec0895ad5 /source3/smbd
parentec423dc2eb1aae408b37034fd497ecef285f7fb9 (diff)
downloadsamba-d10c7378d96d322910e87c21a1a3a3b28b229687.tar.gz
samba-d10c7378d96d322910e87c21a1a3a3b28b229687.tar.bz2
samba-d10c7378d96d322910e87c21a1a3a3b28b229687.zip
smbd_open_one_socket does not use the messaging_context variable so why pass it in?
Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Nov 14 02:19:46 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index f33046b1ac..1cd92882a9 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -662,7 +662,6 @@ static void smbd_accept_connection(struct tevent_context *ev,
static bool smbd_open_one_socket(struct smbd_parent_context *parent,
struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx,
const struct sockaddr_storage *ifss,
uint16_t port)
{
@@ -792,7 +791,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
if (!smbd_open_one_socket(parent,
ev_ctx,
- msg_ctx,
ifss,
port)) {
return false;
@@ -834,7 +832,6 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent,
if (!smbd_open_one_socket(parent,
ev_ctx,
- msg_ctx,
&ss,
port)) {
return false;