diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-01-22 15:00:48 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-02-27 11:49:39 +0100 |
commit | 75ca1216a63d0a404466bfb94a1fba1e478b80c6 (patch) | |
tree | 17cb80896d5441aecea72d410c886a2590413342 /ctdb | |
parent | f2cd999189ee841fe81115e0873ab5e6a3fc265d (diff) | |
download | samba-75ca1216a63d0a404466bfb94a1fba1e478b80c6.tar.gz samba-75ca1216a63d0a404466bfb94a1fba1e478b80c6.tar.xz samba-75ca1216a63d0a404466bfb94a1fba1e478b80c6.zip |
ctdb-daemon: Fix whitespaces
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_takeover.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/server/ctdb_takeover.c b/ctdb/server/ctdb_takeover.c index 4867442528..925e56e29a 100644 --- a/ctdb/server/ctdb_takeover.c +++ b/ctdb/server/ctdb_takeover.c @@ -3091,7 +3091,7 @@ int32_t ctdb_control_tcp_add(struct ctdb_context *ctdb, TDB_DATA indata, bool tc tcparray->connections[tcparray->num].src_addr = p->src_addr; tcparray->connections[tcparray->num].dst_addr = p->dst_addr; tcparray->num++; - + DEBUG(DEBUG_INFO,("Added tickle info for %s:%u from vnn %u\n", ctdb_addr_to_str(&tcp.dst_addr), ntohs(tcp.dst_addr.ip.sin_port), @@ -3851,11 +3851,11 @@ int32_t ctdb_control_set_tcp_tickle_list(struct ctdb_context *ctdb, TDB_DATA ind * list->tickles.num) { DEBUG(DEBUG_ERR,("Bad indata in ctdb_control_set_tcp_tickle_list\n")); return -1; - } + } vnn = find_public_ip_vnn(ctdb, &list->addr); if (vnn == NULL) { - DEBUG(DEBUG_INFO,(__location__ " Could not set tcp tickle list, '%s' is not a public address\n", + DEBUG(DEBUG_INFO,(__location__ " Could not set tcp tickle list, '%s' is not a public address\n", ctdb_addr_to_str(&list->addr))); return 1; @@ -3873,7 +3873,7 @@ int32_t ctdb_control_set_tcp_tickle_list(struct ctdb_context *ctdb, TDB_DATA ind tcparray->connections = talloc_array(tcparray, struct ctdb_tcp_connection, tcparray->num); CTDB_NO_MEMORY(ctdb, tcparray->connections); - memcpy(tcparray->connections, &list->tickles.connections[0], + memcpy(tcparray->connections, &list->tickles.connections[0], sizeof(struct ctdb_tcp_connection)*tcparray->num); /* We now have a new fresh tickle list array for this vnn */ |