Skip to content

Commit

Permalink
s3: client tools. Remove direct access to struct user_auth_info *cmdl…
Browse files Browse the repository at this point in the history
…ine_auth_info.

Only access through utility functions. Remove all the local pointer aliases
that were just being set to cmdline_auth_info in the client tools.

Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
jrasamba authored and cryptomilk committed May 9, 2017

Verified

This commit was signed with the committer’s verified signature.
dylanhand Dylan Hand
1 parent 1a8f410 commit bec0cd2
Showing 9 changed files with 145 additions and 124 deletions.
2 changes: 1 addition & 1 deletion examples/fuse/smb2mount.c
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ int main(int argc, char *argv[])
*share = 0;
share++;

cli = connect_one(cmdline_auth_info, server, port, share);
cli = connect_one(popt_get_cmdline_auth_info(), server, port, share);
if (cli == NULL) {
return -1;
}
Loading

0 comments on commit bec0cd2

Please sign in to comment.