]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dont dereference vnn before we have assigned it a pointer value
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 5 Sep 2007 04:29:44 +0000 (14:29 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 5 Sep 2007 04:29:44 +0000 (14:29 +1000)
(This used to be ctdb commit 2a8fc69aea8527b22a3fe57427677e4caff57338)

ctdb/server/ctdb_takeover.c

index ec44aaf1bf4abdfa480c866e5eff675311b4f55a..08cac1b7f4101bfdac84a6063417d12779e09065 100644 (file)
@@ -212,7 +212,6 @@ int32_t ctdb_control_takeover_ip(struct ctdb_context *ctdb,
        struct ctdb_vnn *vnn;
 
        /* update out vnn list */
-       vnn->pnn = pip->pnn;
        vnn = find_public_ip_vnn(ctdb, ip);
        if (vnn == NULL) {
                DEBUG(0,("takeoverip called for an ip '%s' that is not a public address\n", ip));