summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-01 00:32:23 +0200
committerGünther Deschner <gd@samba.org>2008-04-01 00:32:23 +0200
commitc523c2c3e678756b72665127a23443a7a6b32bde (patch)
tree3d049e63ddb053ea88dc2305dfa6135be97399b0
parentedcbb657deea1fd177bd66bd1bc653e15b1b99d9 (diff)
downloadsamba-c523c2c3e678756b72665127a23443a7a6b32bde.tar.gz
samba-c523c2c3e678756b72665127a23443a7a6b32bde.tar.bz2
samba-c523c2c3e678756b72665127a23443a7a6b32bde.zip
Fix build of rpcclient.
Guenther (This used to be commit 3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
-rw-r--r--source3/rpcclient/cmd_srvsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c
index 51c9819c49..070fb36e30 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -243,8 +243,8 @@ static void display_share_info_502(struct srvsvc_NetShareInfo502 *r)
printf("\tmax_uses:\t%d\n", r->max_users);
printf("\tnum_uses:\t%d\n", r->current_users);
- if (r->sd)
- display_sec_desc(r->sd);
+ if (r->sd_buf.sd)
+ display_sec_desc(r->sd_buf.sd);
}