mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-killtcp: Drop unnecessary casts
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
7aea3c12fb
commit
4105ca953e
@ -162,12 +162,9 @@ static int tickle_connection_traverse(void *param, void *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* othervise, try tickling it again */
|
||||
con->count++;
|
||||
ctdb_sys_send_tcp(
|
||||
(ctdb_sock_addr *)&con->dst_addr,
|
||||
(ctdb_sock_addr *)&con->src_addr,
|
||||
0, 0, 0);
|
||||
ctdb_sys_send_tcp(&con->dst_addr, &con->src_addr, 0, 0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user