summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/libgadu/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/events.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/libgadu/events.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/events.cpp b/protocols/Gadu-Gadu/src/libgadu/events.cpp
index 2a24b77e3c..44bfa73cab 100644
--- a/protocols/Gadu-Gadu/src/libgadu/events.cpp
+++ b/protocols/Gadu-Gadu/src/libgadu/events.cpp
@@ -63,6 +63,8 @@
#endif
#endif
+extern SSL_API sslApi;
+
/**
* Zwalnia pamięć zajmowaną przez informację o zdarzeniu.
*
@@ -2433,7 +2435,7 @@ struct gg_event *gg_watch_fd(struct gg_session *sess)
{
gg_debug_session(sess, GG_DEBUG_MISC, "// gg_watch_fd() GG_STATE_TLS_NEGOTIATION\n");
- sess->ssl = si.connect(sess->fd, 0, 0);
+ sess->ssl = sslApi.connect(sess->fd, 0, 0);
if (sess->ssl == NULL) {
gg_debug_session(sess, GG_DEBUG_MISC, "// gg_watch_fd() TLS negotiation failed\n");