summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBo Yang <boyang@samba.org>2009-07-18 08:01:56 +0800
committerBo Yang <boyang@samba.org>2009-07-18 08:18:29 +0800
commit20f40d1c5065d909f4274b86de20fa941fa20405 (patch)
tree06962faeed7495e4992b5dbf295728a121fbdc61 /source3
parent5f295eb6f5fe60394b764a2e0bc76b77f6160664 (diff)
downloadsamba-20f40d1c5065d909f4274b86de20fa941fa20405.tar.gz
samba-20f40d1c5065d909f4274b86de20fa941fa20405.tar.bz2
samba-20f40d1c5065d909f4274b86de20fa941fa20405.zip
s3: Fix crsh in net usershare list
Signed-off-by: Bo Yang <boyang@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_usershare.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index d82d30bc2d..6eacb1386c 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -974,6 +974,7 @@ static int net_usershare_list(struct net_context *c, int argc,
pi.ctx = ctx;
pi.op = US_LIST_OP;
+ pi.c = c;
ret = process_share_list(info_fn, &pi);
talloc_destroy(ctx);