44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From faa5dbf6f716bd4ac0a3020a28a1ee6fbf74654a Mon Sep 17 00:00:00 2001
|
|
From: Alexey Tikhonov <atikhono@redhat.com>
|
|
Date: Thu, 23 Jan 2020 17:22:28 +0100
|
|
Subject: [PATCH 18/24] sbus_server: stylistic rename
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Renamed sbus_server_name_remove_from_table() to
|
|
sbus_server_name_remove_from_table_cb() to keep naming consistent
|
|
with other functions used as `hash_delete_callback` argument of
|
|
sss_ptr_hash_create()
|
|
|
|
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
---
|
|
src/sbus/server/sbus_server.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/sbus/server/sbus_server.c b/src/sbus/server/sbus_server.c
|
|
index 5405dae56..2b9327051 100644
|
|
--- a/src/sbus/server/sbus_server.c
|
|
+++ b/src/sbus/server/sbus_server.c
|
|
@@ -584,7 +584,7 @@ sbus_server_name_lost(struct sbus_server *server,
|
|
}
|
|
|
|
static void
|
|
-sbus_server_name_remove_from_table(hash_entry_t *item,
|
|
+sbus_server_name_remove_from_table_cb(hash_entry_t *item,
|
|
hash_destroy_enum type,
|
|
void *pvt)
|
|
{
|
|
@@ -676,7 +676,7 @@ sbus_server_create(TALLOC_CTX *mem_ctx,
|
|
}
|
|
|
|
sbus_server->names = sss_ptr_hash_create(sbus_server,
|
|
- sbus_server_name_remove_from_table, sbus_server);
|
|
+ sbus_server_name_remove_from_table_cb, sbus_server);
|
|
if (sbus_server->names == NULL) {
|
|
ret = ENOMEM;
|
|
goto done;
|
|
--
|
|
2.20.1
|
|
|