Merge pull request #15 from jcharaoui/master

Fix basic authentication problem, fixes #13
This commit is contained in:
Fufu Fang 2018-08-22 10:08:15 +01:00 committed by GitHub
commit 6c735676a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -157,10 +157,10 @@ parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc)
case 's':
add_arg(fuse_argv, fuse_argc, "-s");
break;
case 'p':
case 'u':
NETWORK_CONFIG.username = strndup(optarg, ARG_LEN_MAX);
break;
case 'u':
case 'p':
NETWORK_CONFIG.password = strndup(optarg, ARG_LEN_MAX);
break;
case 'P':