From 224c40a52335bf1afc7662183900e143307aa5be Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 1 Nov 1997 13:22:16 +0000 Subject: a simple SMB torture tester. This will allow us to evaluate locking techniques more accurately. (This used to be commit 054e3b2ae3a8cfb98fde72becef9b05de34d2ba7) --- source3/nmbsync.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/nmbsync.c') diff --git a/source3/nmbsync.c b/source3/nmbsync.c index 5fa41e127a..c1db37ff5c 100644 --- a/source3/nmbsync.c +++ b/source3/nmbsync.c @@ -60,7 +60,6 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work, char *name, int nm_type, struct in_addr ip, BOOL local) { extern fstring local_machine; - fstring share; static struct cli_state cli; uint32 local_type = local ? SV_TYPE_LOCAL_LIST_ONLY : 0; @@ -97,9 +96,7 @@ void sync_browse_lists(struct subnet_record *d, struct work_record *work, return; } - sprintf(share,"\\\\%s\\IPC$", name); - - if (!cli_send_tconX(&cli, share, "IPC", "", 1)) { + if (!cli_send_tconX(&cli, "IPC$", "IPC", "", 1)) { DEBUG(1,("%s refused browse sync IPC$ connect\n", name)); cli_shutdown(&cli); return; -- cgit