From 7a3ece4145b9f8631dc29717f165858ee5c80a2d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 13 Nov 2007 18:42:42 -0800 Subject: Remove pstring from param/ This was a little tricky..... I'll watch the build farm. Jeremy. (This used to be commit d6e2519c67fd015e1089021769de04085fd90894) --- source3/utils/net_usershare.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/utils/net_usershare.c') 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); -- cgit