lib: Use talloc_asprintf_addbuf() in print_socket_options()
commitfe8895c83c560f424edd35d9394414c2801127d2
authorVolker Lendecke <vl@samba.org>
Mon, 28 Nov 2022 10:01:16 +0000 (28 11:01 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 14 Dec 2022 04:32:34 +0000 (14 04:32 +0000)
treebe8f8abf7c22a8c793a8396df833eaa680d1fa6f
parentbcdbe6ef6b59ae3638f263fbd5ddf4107c3f52cf
lib: Use talloc_asprintf_addbuf() in print_socket_options()

With the proper NULL checks we don't need the stackframe,
use a passed in context instead.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util_net.c