Mercurial > pidgin.yaz
view src/gaim-client.h @ 13242:cdd107258f11
[gaim-migrate @ 15608]
Special handling of disconnection when we were forcibly disconnected is only needed when using OpenSSL, since Mozilla NSS and GnuTLS work fine. I moved the special handling into #ifdef HAVE_OPENSSL blocks and added avoidance of calling gaim_ssl_close() when we were forcibly disconnected since it also causes a crash.
Not calling gaim_ssl_close() means that every forced disconnection when using OpenSSL will leak the host name string, since that's released ingaim_ssl_close()... a small leak is prefereable to a crash, but not optimal.
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 12 Feb 2006 16:25:54 +0000 |
parents | 2078f65a8e98 |
children |
line wrap: on
line source
#ifndef _GAIM_CLIENT_H_INCLUDED_ #define _GAIM_CLIENT_H_INCLUDED_ #include <glib.h> #include "gaim-client-bindings.h" G_BEGIN_DECLS void gaim_init(void); G_END_DECLS #endif