1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

fifo: rename callback for info "fifo_filename"

This commit is contained in:
Sébastien Helleu
2014-11-29 09:43:20 +01:00
parent c357408c2c
commit fa5d9bb564
+6 -10
View File
@@ -26,23 +26,19 @@
/*
* Returns info about FIFO pipe.
* Returns FIFO info "fifo_filename".
*/
const char *
fifo_info_get_info_cb (void *data, const char *info_name,
const char *arguments)
fifo_info_info_fifo_filename_cb (void *data, const char *info_name,
const char *arguments)
{
/* make C compiler happy */
(void) data;
(void) info_name;
(void) arguments;
if (weechat_strcasecmp (info_name, "fifo_filename") == 0)
{
return fifo_filename;
}
return NULL;
return fifo_filename;
}
/*
@@ -53,5 +49,5 @@ void
fifo_info_init ()
{
weechat_hook_info ("fifo_filename", N_("name of FIFO pipe"), NULL,
&fifo_info_get_info_cb, NULL);
&fifo_info_info_fifo_filename_cb, NULL);
}