1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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
This commit is contained in:
Christian Ambach 2012-07-13 17:14:09 +02:00
parent 31f0d304f1
commit 3643262126

View File

@ -247,7 +247,7 @@ static void print_brl(struct file_id id,
TALLOC_FREE(share_mode); TALLOC_FREE(share_mode);
} }
static int traverse_fn1(const struct connections_key *key, static int traverse_connections(const struct connections_key *key,
const struct connections_data *crec, const struct connections_data *crec,
void *state) void *state)
{ {
@ -469,7 +469,7 @@ static void print_notify_recs(const char *path,
d_printf("\nService pid machine Connected at\n"); d_printf("\nService pid machine Connected at\n");
d_printf("-------------------------------------------------------\n"); d_printf("-------------------------------------------------------\n");
connections_forall_read(traverse_fn1, NULL); connections_forall_read(traverse_connections, NULL);
d_printf("\n"); d_printf("\n");