1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-23 20:23:50 +03:00

r1469: fix a segfault and compiler warning,

introduced by the "compiler warning fix" in rev 1460...

metze
This commit is contained in:
Stefan Metzmacher
2004-07-12 15:34:34 +00:00
committed by Gerald (Jerry) Carter
parent 9a876be76c
commit ffb7ba35cd

View File

@@ -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$"))