Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
authorTim Potter <tpot@samba.org>
Thu, 26 Nov 1998 06:35:25 +0000 (06:35 +0000)
committerTim Potter <tpot@samba.org>
Thu, 26 Nov 1998 06:35:25 +0000 (06:35 +0000)
Fix by Matt Chapman <m.chapman@student.unsw.edu.au>
(This used to be commit c44b418d6fd16a257af21f6b5b29b1cdf26015b7)

source3/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))
        {