summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-12 17:32:39 +0200
committerVolker Lendecke <vl@samba.org>2011-09-13 11:00:13 +0200
commit3e8a8d08e3e36e5d36b93e4d515c7905907ef314 (patch)
treee91f5a8b88b0619206e1c8556027340c298158ef /source3
parentd911bd5c69db0b374e61cb474c3536f925369dc6 (diff)
downloadsamba-3e8a8d08e3e36e5d36b93e4d515c7905907ef314.tar.gz
samba-3e8a8d08e3e36e5d36b93e4d515c7905907ef314.tar.bz2
samba-3e8a8d08e3e36e5d36b93e4d515c7905907ef314.zip
s3: Remove a reference to smbd_server_conn
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 78390d2f26..41a44b075c 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -374,10 +374,10 @@ static void smbd_accept_connection(struct tevent_context *ev,
uint16_t flags,
void *private_data)
{
- struct smbd_server_connection *sconn = smbd_server_conn;
struct smbd_open_socket *s = talloc_get_type_abort(private_data,
struct smbd_open_socket);
struct messaging_context *msg_ctx = s->msg_ctx;
+ struct smbd_server_connection *sconn = msg_ctx_to_sconn(msg_ctx);
struct sockaddr_storage addr;
socklen_t in_addrlen = sizeof(addr);
int fd;