mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
added cfg smb-windows to be able to disable SMB on windows (#210)
* added cfg smb-windows to be able to disable SMB on windows * lint
This commit is contained in:
committed by
GitHub
parent
2f48c765e3
commit
9de171fb83
@@ -140,7 +140,7 @@ impl Builder {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
#[cfg(smb_windows)]
|
||||
fn smb_client(params: SmbParams) -> SmbFs {
|
||||
let mut credentials = SmbCredentials::new(params.address, params.share);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user