]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tcp: Use talloc_strdup() instead of repeating logic
authorMartin Schwenke <mschwenke@ddn.com>
Fri, 5 Jul 2024 05:52:51 +0000 (15:52 +1000)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Aug 2024 13:06:33 +0000 (13:06 +0000)
commit2c75bb868733c631e1526e5555233ffdeb2ad8ff
tree6ebd263e443302106342c01186cb828a3d725977
parentf36f03172af7c01d14bac2241a9514229df54574
ctdb-tcp: Use talloc_strdup() instead of repeating logic

The node name is already constructed when the nodes file is loaded, so
just copy the node name.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/tcp/tcp_connect.c