git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e042002
)
r21172: fixed a comment
author
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Feb 2007 04:45:26 +0000
(
04:45
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:44:41 +0000
(14:44 -0500)
source/cluster/ctdb/common/ctdb.c
patch
|
blob
|
history
diff --git
a/source/cluster/ctdb/common/ctdb.c
b/source/cluster/ctdb/common/ctdb.c
index 94715f622698761201ee3522b81d0a32e2eafba1..ecef14bca413d44c2c08c76f94160ea0b86fa15f 100644
(file)
--- a/
source/cluster/ctdb/common/ctdb.c
+++ b/
source/cluster/ctdb/common/ctdb.c
@@
-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
dea
d
+ called by the transport layer when a node is
connecte
d
*/
static void ctdb_node_connected(struct ctdb_node *node)
{