diff options
Diffstat (limited to 'source3/utils/net_usershare.c')
-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); |