summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-01 00:03:47 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-01 00:17:20 +0100
commit5f13710ced2565355c3cdcef04067cacdf74a9ad (patch)
tree577f87ed1495048eba1f5321f94e11581a42aa5c /source4/smb_server
parent96f176dbd84090fd18b8c796f869ddaa2da39e59 (diff)
downloadsamba-5f13710ced2565355c3cdcef04067cacdf74a9ad.tar.gz
samba-5f13710ced2565355c3cdcef04067cacdf74a9ad.tar.bz2
samba-5f13710ced2565355c3cdcef04067cacdf74a9ad.zip
s4:irpc: avoid c++ reserved word 'private'
metze
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/management.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/smb_server/management.c b/source4/smb_server/management.c
index 4306b22c30..e58c278613 100644
--- a/source4/smb_server/management.c
+++ b/source4/smb_server/management.c
@@ -32,7 +32,8 @@
static NTSTATUS smbsrv_session_information(struct irpc_message *msg,
struct smbsrv_information *r)
{
- struct smbsrv_connection *smb_conn = talloc_get_type(msg->private, struct smbsrv_connection);
+ struct smbsrv_connection *smb_conn = talloc_get_type(msg->private_data,
+ struct smbsrv_connection);
int i=0, count=0;
struct smbsrv_session *sess;
@@ -75,7 +76,8 @@ static NTSTATUS smbsrv_session_information(struct irpc_message *msg,
static NTSTATUS smbsrv_tcon_information(struct irpc_message *msg,
struct smbsrv_information *r)
{
- struct smbsrv_connection *smb_conn = talloc_get_type(msg->private, struct smbsrv_connection);
+ struct smbsrv_connection *smb_conn = talloc_get_type(msg->private_data,
+ struct smbsrv_connection);
int i=0, count=0;
struct smbsrv_tcon *tcon;