mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +02:00
Give file descriptor to callback of hook_fd
This commit is contained in:
@@ -749,7 +749,7 @@ script_api_hook_fd (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *script,
|
||||
int fd, int flag_read, int flag_write,
|
||||
int flag_exception,
|
||||
int (*callback)(void *data),
|
||||
int (*callback)(void *data, int fd),
|
||||
const char *function)
|
||||
{
|
||||
struct t_script_callback *new_script_callback;
|
||||
|
||||
Reference in New Issue
Block a user