diff options
author | Bo Yang <boyang@samba.org> | 2009-07-18 08:01:56 +0800 |
---|---|---|
committer | Bo Yang <boyang@samba.org> | 2009-07-18 08:18:29 +0800 |
commit | 20f40d1c5065d909f4274b86de20fa941fa20405 (patch) | |
tree | 06962faeed7495e4992b5dbf295728a121fbdc61 /source3/utils/net_usershare.c | |
parent | 5f295eb6f5fe60394b764a2e0bc76b77f6160664 (diff) | |
download | samba-20f40d1c5065d909f4274b86de20fa941fa20405.tar.gz samba-20f40d1c5065d909f4274b86de20fa941fa20405.tar.xz samba-20f40d1c5065d909f4274b86de20fa941fa20405.zip |
s3: Fix crsh in net usershare list
Signed-off-by: Bo Yang <boyang@samba.org>
Diffstat (limited to 'source3/utils/net_usershare.c')
-rw-r--r-- | source3/utils/net_usershare.c | 1 |
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); |