summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index bb792b7e2b..d20ecfa1d9 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -2727,7 +2727,7 @@ BOOL cli_connect_serverlist(struct cli_state *cli, char *p)
struct nmb_name calling, called;
BOOL connected_ok = True;
- ZERO_STRUCT(cli);
+ ZERO_STRUCTP(cli);
if (!cli_initialise(cli))
{