Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
static int traverse_connections(const struct connections_key *key,
const struct connections_data *crec,
- void *state)
+ void *private_data)
{
+ TALLOC_CTX *mem_ctx = (TALLOC_CTX *)private_data;
struct server_id_buf tmp;
if (crec->cnum == TID_FIELD_INVALID)
d_printf("\nService pid machine Connected at\n");
d_printf("-------------------------------------------------------\n");
- connections_forall_read(traverse_connections, NULL);
+ connections_forall_read(traverse_connections, frame);
d_printf("\n");