r21172: fixed a comment
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Feb 2007 04:45:26 +0000 (04:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:41 +0000 (14:44 -0500)
source/cluster/ctdb/common/ctdb.c

index 94715f622698761201ee3522b81d0a32e2eafba1..ecef14bca413d44c2c08c76f94160ea0b86fa15f 100644 (file)
@@ -175,6 +175,7 @@ int ctdb_start(struct ctdb_context *ctdb)
 static void ctdb_recv_pkt(struct ctdb_context *ctdb, uint8_t *data, uint32_t length)
 {
        struct ctdb_req_header *hdr;
+
        if (length < sizeof(*hdr)) {
                ctdb_set_error(ctdb, "Bad packet length %d\n", length);
                return;
@@ -229,7 +230,7 @@ static void ctdb_node_dead(struct ctdb_node *node)
 }
 
 /*
-  called by the transport layer when a node is dead
+  called by the transport layer when a node is connected
 */
 static void ctdb_node_connected(struct ctdb_node *node)
 {