svn commit: samba r21172 - in
branches/SAMBA_4_0/source/cluster/ctdb/common: .
tridge at samba.org
tridge at samba.org
Tue Feb 6 04:45:27 GMT 2007
Author: tridge
Date: 2007-02-06 04:45:26 +0000 (Tue, 06 Feb 2007)
New Revision: 21172
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21172
Log:
fixed a comment
Modified:
branches/SAMBA_4_0/source/cluster/ctdb/common/ctdb.c
Changeset:
Modified: branches/SAMBA_4_0/source/cluster/ctdb/common/ctdb.c
===================================================================
--- branches/SAMBA_4_0/source/cluster/ctdb/common/ctdb.c 2007-02-06 04:43:48 UTC (rev 21171)
+++ branches/SAMBA_4_0/source/cluster/ctdb/common/ctdb.c 2007-02-06 04:45:26 UTC (rev 21172)
@@ -175,6 +175,7 @@
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 @@
}
/*
- 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)
{
More information about the samba-cvs
mailing list