1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

relay: rename function relay_api_search_buffer_id_name to relay_api_protocol_search_buffer_id_name

This commit is contained in:
Sébastien Helleu
2024-03-29 13:02:45 +01:00
parent a23b5b5a37
commit 1fb6fda89b
+3 -2
View File
@@ -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,