summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-11 18:08:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:51 -0500
commit86d4ec7212bcebd460cc52a24d3833939e4746bc (patch)
treeb6063f0eaa892d9ad2d28306bad0d8553d4a275e /source4/client
parentd9ff454a87410d4756cd61612bfb4aa768301be5 (diff)
downloadsamba-86d4ec7212bcebd460cc52a24d3833939e4746bc.tar.gz
samba-86d4ec7212bcebd460cc52a24d3833939e4746bc.tar.bz2
samba-86d4ec7212bcebd460cc52a24d3833939e4746bc.zip
r1730: We cannot dereference c->tree here, as there is not a tree yet.
Andrew Bartlett (This used to be commit c9b5f335f8d270ba38848a56e7f5a9e05036a654)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c4
1 files changed, 2 insertions, 2 deletions
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;