s3: Remove some dead code
authorVolker Lendecke <vl@samba.org>
Thu, 11 Nov 2010 12:45:00 +0000 (13:45 +0100)
committerVolker Lendecke <vlendec@samba.org>
Thu, 11 Nov 2010 16:16:24 +0000 (16:16 +0000)
source3/libsmb/clidfs.c

index e663855ccfcdf1ecb132223249bfe6adc43c836d..7e02147b8f18b950dd60f8b366ff8a9d4c62e745 100644 (file)
@@ -130,9 +130,6 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx,
        c = cli_initialise_ex(get_cmdline_auth_info_signing_state(auth_info));
        if (c == NULL) {
                d_printf("Connection to %s failed\n", server_n);
-               if (c) {
-                       cli_shutdown(c);
-               }
                return NULL;
        }
        if (port) {