1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4:client/client.c - fix wrong return codes in "do_connect"

Detected by the Solaris cc compiler.
This commit is contained in:
Matthias Dieter Wallnöfer 2010-09-10 22:39:39 +02:00
parent 9d4dc69627
commit 07af8f2514

View File

@ -3088,10 +3088,10 @@ static bool do_connect(struct smbclient_context *ctx,
d_printf("Connection to \\\\%s\\%s failed - %s\n",
server, share, nt_errstr(status));
talloc_free(ctx);
return NULL;
return false;
}
return ctx;
return true;
}
/****************************************************************************