From 86d4ec7212bcebd460cc52a24d3833939e4746bc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 11 Aug 2004 18:08:46 +0000 Subject: r1730: We cannot dereference c->tree here, as there is not a tree yet. Andrew Bartlett (This used to be commit c9b5f335f8d270ba38848a56e7f5a9e05036a654) --- source4/client/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/client') diff --git a/source4/client/client.c b/source4/client/client.c index 1aae6faa24..63363fc5c2 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -2782,8 +2782,8 @@ static struct smbcli_state *do_connect(const char *server, const char *share) if (!smbcli_transport_establish(c, &calling, &called)) { char *p; - d_printf("session request to %s failed (%s)\n", - called.name, smbcli_errstr(c->tree)); + d_printf("session request to %s failed\n", + called.name); smbcli_shutdown(c); if ((p=strchr_m(called.name, '.'))) { *p = 0; -- cgit