From 364326212646047af8870ac78bd734449cadee89 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 13 Jul 2012 17:14:09 +0200 Subject: [PATCH] s3:smbstatus rename a function to make its purpose more clear traverse_fn1 does not really intuitively make clear that it is used to traverse connections --- source3/utils/status.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/utils/status.c b/source3/utils/status.c index 1f85491c7d8..516b551c3fa 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -247,9 +247,9 @@ static void print_brl(struct file_id id, TALLOC_FREE(share_mode); } -static int traverse_fn1(const struct connections_key *key, - const struct connections_data *crec, - void *state) +static int traverse_connections(const struct connections_key *key, + const struct connections_data *crec, + void *state) { if (crec->cnum == TID_FIELD_INVALID) return 0; @@ -469,7 +469,7 @@ static void print_notify_recs(const char *path, d_printf("\nService pid machine Connected at\n"); d_printf("-------------------------------------------------------\n"); - connections_forall_read(traverse_fn1, NULL); + connections_forall_read(traverse_connections, NULL); d_printf("\n"); -- 2.11.4.GIT