From ee57c76a687c72ac7e8dc7c135ab53baa7a42776 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 18 Jun 2005 00:02:36 +0000 Subject: r7704: - fixed open_nbt_connection() to return NULL when the connection failed - got rid of smbcli_shutdown() and use talloc_free() instead. (This used to be commit 1011b1bf51d420d6702ef448c894ea8ebeafa284) --- source4/torture/locktest2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/locktest2.c') diff --git a/source4/torture/locktest2.c b/source4/torture/locktest2.c index 4bd99cd5d0..e5cd8a60af 100644 --- a/source4/torture/locktest2.c +++ b/source4/torture/locktest2.c @@ -196,7 +196,7 @@ static void reconnect(struct smbcli_state *cli[NSERVERS][NCONNECTIONS], smbcli_close(cli[server][conn], fnum[server][fstype][conn][f]); } smbcli_ulogoff(cli[server][conn]); - smbcli_shutdown(cli[server][conn]); + talloc_free(cli[server][conn]); } cli[server][conn] = connect_one(share[server]); if (!cli[server][conn]) { -- cgit