mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
refactor: make tr_sessionInit() config_dir arg a string_view (#7939)
This commit is contained in:
@@ -346,7 +346,7 @@ int tr_main(int argc, char* argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
auto* const h = tr_sessionInit(config_dir.c_str(), false, settings);
|
||||
auto* const h = tr_sessionInit(config_dir, false, settings);
|
||||
auto* const ctor = tr_ctorNew(h);
|
||||
|
||||
tr_ctorSetPaused(ctor, TR_FORCE, false);
|
||||
|
||||
Reference in New Issue
Block a user