Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
[samba.git] / source / libsmb / clientgen.c
index bb792b7e2bdabc8b800fb5f46b5bcc22df4f9318..d20ecfa1d93704f634ac82bb73cc9ad88cbcbff0 100644 (file)
@@ -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))
        {