mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 01:13:12 +01:00
Cygwin, support Windows-style parameter paths, typo (#512)
Correct a readability-redundant-string-cstr typo detected by clang
This commit is contained in:
parent
6c1fde25fc
commit
d0def19145
@ -484,7 +484,7 @@ static bool processArgs(int argc, char *argv[],
|
|||||||
// rest of the code.
|
// rest of the code.
|
||||||
out->opts->rootDir = slashTerminate(argv[optind++]);
|
out->opts->rootDir = slashTerminate(argv[optind++]);
|
||||||
out->opts->unmountPoint = string(argv[optind++]);
|
out->opts->unmountPoint = string(argv[optind++]);
|
||||||
out->opts->mountPoint = slashTerminate(out->opts->unmountPoint.c_str());
|
out->opts->mountPoint = slashTerminate(out->opts->unmountPoint);
|
||||||
} else {
|
} else {
|
||||||
// no mount point specified
|
// no mount point specified
|
||||||
cerr << _("Missing one or more arguments, aborting.") << endl;
|
cerr << _("Missing one or more arguments, aborting.") << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user