summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/script-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-27 16:48:58 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-27 16:48:58 +0100
commit540756bf5446f30b66b716027b4f8550a462f4fc (patch)
tree4ab8124a532d498eaba1985ba9642d77542ba87c /src/plugins/scripts/script-api.c
parent6e7b62be9723205cb4f7dc69966ed80ed7119dd6 (diff)
downloadweechat-540756bf5446f30b66b716027b4f8550a462f4fc.zip
Fix SSL connection to some IRC servers using Diffie Hellman and small exchange keys (bug #25996)
Diffstat (limited to 'src/plugins/scripts/script-api.c')
-rw-r--r--src/plugins/scripts/script-api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/scripts/script-api.c b/src/plugins/scripts/script-api.c
index 8784fba3e..99266a04f 100644
--- a/src/plugins/scripts/script-api.c
+++ b/src/plugins/scripts/script-api.c
@@ -917,7 +917,9 @@ script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
const char *proxy, const char *address, int port,
int sock, int ipv6, void *gnutls_sess,
const char *local_hostname,
- int (*callback)(void *data, int status, const char *ip_address),
+ int (*callback)(void *data, int status,
+ const char *error,
+ const char *ip_address),
const char *function)
{
struct t_script_callback *new_script_callback;