From 1fb6fda89b2096c3cf0e4b1986ba40f48969c375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 29 Mar 2024 13:02:45 +0100 Subject: relay: rename function relay_api_search_buffer_id_name to relay_api_protocol_search_buffer_id_name --- src/plugins/relay/api/relay-api-protocol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/relay/api/relay-api-protocol.c b/src/plugins/relay/api/relay-api-protocol.c index 64c6d8adf..ac3b8f13e 100644 --- a/src/plugins/relay/api/relay-api-protocol.c +++ b/src/plugins/relay/api/relay-api-protocol.c @@ -46,7 +46,7 @@ int relay_api_protocol_command_delay = 1; /* delay to execute command */ */ struct t_gui_buffer * -relay_api_search_buffer_id_name (const char *string) +relay_api_protocol_search_buffer_id_name (const char *string) { struct t_gui_buffer *ptr_buffer; @@ -382,7 +382,8 @@ RELAY_API_PROTOCOL_CALLBACK(buffers) ptr_buffer = NULL; if (client->http_req->num_path_items > 2) { - ptr_buffer = relay_api_search_buffer_id_name (client->http_req->path_items[2]); + ptr_buffer = relay_api_protocol_search_buffer_id_name ( + client->http_req->path_items[2]); if (!ptr_buffer) { relay_api_msg_send_error_json (client, RELAY_HTTP_404_NOT_FOUND, NULL, -- cgit v1.2.3