summaryrefslogtreecommitdiff
path: root/source3/utils/net_usershare.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-13 18:42:42 -0800
committerJeremy Allison <jra@samba.org>2007-11-13 18:42:42 -0800
commit7a3ece4145b9f8631dc29717f165858ee5c80a2d (patch)
treeaca84e22b678fadc9430bb9d3cb7086c67cc8b13 /source3/utils/net_usershare.c
parente2eaf24f7b04984fd3ea0514c32b743e9ca479c9 (diff)
downloadsamba-7a3ece4145b9f8631dc29717f165858ee5c80a2d.tar.gz
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/net_usershare.c')
-rw-r--r--source3/utils/net_usershare.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index ea817b31add..658c0089da6 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);