diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index 9511a56e31c..99816728014 100644 --- a/source/libsmb/cliconnect.c +++ b/source/libsmb/cliconnect.c @@ -774,7 +774,7 @@ BOOL cli_establish_connection(struct cli_state *cli, } if (do_shutdown) - cli_shutdown(cli); + cli_shutdown(cli); return True; }