mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r15537: Ignore // or \\ in //server or \\server.
Jeremy.
(This used to be commit 45cfba12cf
)
This commit is contained in:
parent
4629fab3e4
commit
2dd8857dcb
@ -787,6 +787,11 @@ out_free:
|
||||
}
|
||||
}
|
||||
|
||||
if ((server[0] == '/' || server[0] == '\\') &&
|
||||
(server[1] == '/' || server[1] == '\\')) {
|
||||
server += 2;
|
||||
}
|
||||
|
||||
nt_status = cli_full_connection(&cli, global_myname(), server,
|
||||
opt_ipaddr ? &server_ip : NULL, opt_port,
|
||||
"IPC$", "IPC",
|
||||
|
Loading…
Reference in New Issue
Block a user