mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r1469: fix a segfault and compiler warning,
introduced by the "compiler warning fix" in rev 1460... metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9a876be76c
commit
ffb7ba35cd
@@ -272,9 +272,8 @@ NTSTATUS cli_tree_full_connection(struct cli_tree **ret_tree,
|
||||
/* connect to a share using a tree connect */
|
||||
tcon.generic.level = RAW_TCON_TCONX;
|
||||
tcon.tconx.in.flags = 0;
|
||||
tcon.tconx.in.password = data_blob(NULL, 0);
|
||||
|
||||
asprintf(in_path, "\\\\%s\\%s", dest_host, service);
|
||||
tcon.tconx.in.password = data_blob(NULL, 0);
|
||||
asprintf(&in_path, "\\\\%s\\%s", dest_host, service);
|
||||
tcon.tconx.in.path = in_path;
|
||||
if (!service_type) {
|
||||
if (strequal(service, "IPC$"))
|
||||
|
||||
Reference in New Issue
Block a user