diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-22 07:25:25 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-22 07:25:25 +0100 |
commit | b9d427fc1f2f89d24dd0af679b7e331670cc42cc (patch) | |
tree | 45f3f50b657db1f12d07fcecd214675488e86b97 /src | |
parent | aa248ad3b080b57666b3d984a50830152baded8c (diff) | |
download | weechat-b9d427fc1f2f89d24dd0af679b7e331670cc42cc.zip |
core: add missing pointer argument in calls to hook_connect callback
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-network.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/wee-network.c b/src/core/wee-network.c index f9ced9c03..fd1474236 100644 --- a/src/core/wee-network.c +++ b/src/core/wee-network.c @@ -1316,7 +1316,8 @@ network_connect_gnutls_handshake_fd_cb (const void *pointer, void *data, if (hook_connect_gnutls_verify_certificates (*HOOK_CONNECT(hook_connect, gnutls_sess)) != 0) { (void) (HOOK_CONNECT(hook_connect, callback)) - (hook_connect->callback_data, + (hook_connect->callback_pointer, + hook_connect->callback_data, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR, rc, HOOK_CONNECT(hook_connect, sock), "Error in the certificate.", @@ -1552,7 +1553,8 @@ network_connect_child_read_cb (const void *pointer, void *data, int fd) if (hook_connect_gnutls_verify_certificates (*HOOK_CONNECT(hook_connect, gnutls_sess)) != 0) { (void) (HOOK_CONNECT(hook_connect, callback)) - (hook_connect->callback_data, + (hook_connect->callback_pointer, + hook_connect->callback_data, WEECHAT_HOOK_CONNECT_GNUTLS_HANDSHAKE_ERROR, rc, sock, "Error in the certificate.", |