Fix network share connection

This commit is contained in:
2Shirt 2025-12-13 16:59:29 -08:00
parent b8fe43fd8f
commit 3b975af2ba
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -44,7 +44,8 @@ pub fn connect_network_share(
lpRemoteName: remote_name.as_c_str().as_ptr() as *mut u8,
};
let username = to_cstr(username);
let username = format!("{server}\\{username}");
let username = to_cstr(&username);
let password = to_cstr(password);
// mount