diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-29 13:02:45 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-29 13:02:45 +0100 |
commit | 1fb6fda89b2096c3cf0e4b1986ba40f48969c375 (patch) | |
tree | ad2b93e19cca6a1f998ae2a5cad919584f71d0a8 | |
parent | a23b5b5a378db101842970c10fc358a91ff2e770 (diff) | |
download | weechat-1fb6fda89b2096c3cf0e4b1986ba40f48969c375.zip |
relay: rename function relay_api_search_buffer_id_name to relay_api_protocol_search_buffer_id_name
-rw-r--r-- | src/plugins/relay/api/relay-api-protocol.c | 5 |
1 files 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, |