diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-13 18:42:42 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-13 18:42:42 -0800 |
commit | 7a3ece4145b9f8631dc29717f165858ee5c80a2d (patch) | |
tree | aca84e22b678fadc9430bb9d3cb7086c67cc8b13 /source3/utils | |
parent | e2eaf24f7b04984fd3ea0514c32b743e9ca479c9 (diff) | |
download | samba-7a3ece4145b9f8631dc29717f165858ee5c80a2d.tar.gz samba-7a3ece4145b9f8631dc29717f165858ee5c80a2d.tar.bz2 samba-7a3ece4145b9f8631dc29717f165858ee5c80a2d.zip |
Remove pstring from param/
This was a little tricky..... I'll watch the
build farm.
Jeremy.
(This used to be commit d6e2519c67fd015e1089021769de04085fd90894)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_usershare.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index ea817b31ad..658c0089da 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -298,8 +298,8 @@ static int info_fn(struct file_list *fl, void *priv) int numlines = 0; SEC_DESC *psd = NULL; pstring basepath; - pstring sharepath; - pstring comment; + char *sharepath = NULL; + char *comment = NULL; pstring acl_str; int num_aces; char sep_str[2]; @@ -349,8 +349,8 @@ static int info_fn(struct file_list *fl, void *priv) /* Ensure it's well formed. */ us_err = parse_usershare_file(ctx, &sbuf, fl->pathname, -1, lines, numlines, - sharepath, - comment, + &sharepath, + &comment, &psd, &guest_ok); |