summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 10:30:03 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:09:00 +0100
commitd9c30894a1cb3d0814ba281dd6e9f5ca63c987d5 (patch)
treee9e89cb174ef0c04218f8c1b4481d3ce1b15f999 /source4/smb_server
parent1441e87e249190bd9fea72773b8fd014a05f9861 (diff)
downloadsamba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.gz
samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.tar.bz2
samba-d9c30894a1cb3d0814ba281dd6e9f5ca63c987d5.zip
s4:service_stream: s/private/private_data
metze
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index a18440bfa8..6206a03b21 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -88,7 +88,7 @@ void smbsrv_terminate_connection(struct smbsrv_connection *smb_conn, const char
*/
static void smbsrv_recv(struct stream_connection *conn, uint16_t flags)
{
- struct smbsrv_connection *smb_conn = talloc_get_type(conn->private,
+ struct smbsrv_connection *smb_conn = talloc_get_type(conn->private_data,
struct smbsrv_connection);
DEBUG(10,("smbsrv_recv\n"));
@@ -101,7 +101,7 @@ static void smbsrv_recv(struct stream_connection *conn, uint16_t flags)
*/
static void smbsrv_send(struct stream_connection *conn, uint16_t flags)
{
- struct smbsrv_connection *smb_conn = talloc_get_type(conn->private,
+ struct smbsrv_connection *smb_conn = talloc_get_type(conn->private_data,
struct smbsrv_connection);
packet_queue_run(smb_conn->packet);
}
@@ -148,7 +148,7 @@ static void smbsrv_accept(struct stream_connection *conn)
smb_conn->lp_ctx = conn->lp_ctx;
smb_conn->connection = conn;
- conn->private = smb_conn;
+ conn->private_data = smb_conn;
smb_conn->statistics.connect_time = timeval_current();