summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 12:54:47 +0200
committerMichael Adam <obnox@samba.org>2014-08-06 09:51:13 +0200
commit628af0e0ad8cfb9b34e80f7c9c59ffdd8685d31f (patch)
tree82a91722bb66e728875b7bff564c5b3d0fd7e7e6 /source3/smbd/reply.c
parent05779e318a0afbd6e2949167fe6e766c6bbe7932 (diff)
downloadsamba-628af0e0ad8cfb9b34e80f7c9c59ffdd8685d31f.tar.gz
samba-628af0e0ad8cfb9b34e80f7c9c59ffdd8685d31f.tar.xz
samba-628af0e0ad8cfb9b34e80f7c9c59ffdd8685d31f.zip
s3:smbd: pass smbXsrv_connection to reply_special()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9f9683cce0..e8b1038175 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -532,9 +532,9 @@ static void reply_called_name_not_present(char *outbuf)
Reply to a (netbios-level) special message.
****************************************************************************/
-void reply_special(struct smbd_server_connection *sconn, char *inbuf, size_t inbuf_size)
+void reply_special(struct smbXsrv_connection *xconn, char *inbuf, size_t inbuf_size)
{
- struct smbXsrv_connection *xconn = sconn->conn;
+ struct smbd_server_connection *sconn = xconn->sconn;
int msg_type = CVAL(inbuf,0);
int msg_flags = CVAL(inbuf,1);
/*
@@ -627,7 +627,7 @@ void reply_special(struct smbd_server_connection *sconn, char *inbuf, size_t inb
if (sconn->remote_hostname == NULL) {
exit_server_cleanly("could not copy remote name");
}
- sconn->conn->remote_hostname = sconn->remote_hostname;
+ xconn->remote_hostname = sconn->remote_hostname;
}
DEBUG(2,("netbios connect: local=%s remote=%s, name type = %x\n",