libnet: Simplify becomeDC
commit6d19d4ab7b31f1ad6acc72b7761be6e61c3116a2
authorVolker Lendecke <vl@samba.org>
Fri, 25 Oct 2024 12:53:09 +0000 (25 14:53 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 14:03:04 +0000 (11 14:03 +0000)
tree7470ecbf60c1b8838c06eea265c340ec13b4c5f3
parentf78a44fce6893a42cabcc6668a962abe771b0099
libnet: Simplify becomeDC

Checking for "" does not need a call to strcmp

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/libnet/libnet_become_dc.c