summaryrefslogtreecommitdiff
path: root/ctdb/tcp/tcp_init.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-03-24 13:45:11 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-03-24 13:45:11 +1100
commit7265c713db1470a3953678f3898ce4fdee219c20 (patch)
tree20d0ca95919f64ad0da7ff76cc2b315bce35aba4 /ctdb/tcp/tcp_init.c
parent4d5bb92fa939f799dfaec1472f6d5e61b0b6ea73 (diff)
downloadsamba-7265c713db1470a3953678f3898ce4fdee219c20.tar.gz
we need to set the port properly in the parse_ip helper
(This used to be ctdb commit 43fe18d86995744ba61c7a6405b70edcb265930a)
Diffstat (limited to 'ctdb/tcp/tcp_init.c')
-rw-r--r--ctdb/tcp/tcp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c
index 737bd8e4a54..c0606f0ec54 100644
--- a/ctdb/tcp/tcp_init.c
+++ b/ctdb/tcp/tcp_init.c
@@ -27,7 +27,7 @@
static int tnode_destructor(struct ctdb_tcp_node *tnode)
{
- struct ctdb_node *node = talloc_find_parent_bytype(tnode, struct ctdb_node);
+ // struct ctdb_node *node = talloc_find_parent_bytype(tnode, struct ctdb_node);
if (tnode->fd != -1) {
close(tnode->fd);