mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 12:15:36 +02:00
Convert src dir to full path (#21)
The asset stream manager requires a full path. With this CL, you can stream from e.g. ".".
This commit is contained in:
@@ -129,7 +129,7 @@ int main(int argc, char* argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::string src_dir = args[2];
|
||||
std::string src_dir = cdc_ft::path::GetFullPath(args[2]);
|
||||
std::string user_host, mount_dir;
|
||||
if (!ParseUserHostDir(args[3], &user_host, &mount_dir)) return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user