comparison plugins/ssl/ssl-gnutls.c @ 11256:bb0d7b719af2

[gaim-migrate @ 13430] I give you regex filtering in the debug window. We keep a buffer of all the text, so when unpausing all the messages that were output when paused will be displayed, as well as when you change the filter. This _should_ be alright on systems that don't have regex.h but I haven't gotten anyone to test it recently, if it's busted, just #ifdef HAVE_REGEX_H it. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Sat, 13 Aug 2005 22:09:34 +0000
parents 50224ac8184d
children c18bd02be106
comparison
equal deleted inserted replaced
11255:1b1d63602d77 11256:bb0d7b719af2
185 185
186 static gboolean 186 static gboolean
187 plugin_load(GaimPlugin *plugin) 187 plugin_load(GaimPlugin *plugin)
188 { 188 {
189 #ifdef HAVE_GNUTLS 189 #ifdef HAVE_GNUTLS
190 gaim_debug_register_category("gnutls");
191
192 if (!gaim_ssl_get_ops()) { 190 if (!gaim_ssl_get_ops()) {
193 gaim_ssl_set_ops(&ssl_ops); 191 gaim_ssl_set_ops(&ssl_ops);
194 } 192 }
195 193
196 /* Init GNUTLS now so others can use it even if sslconn never does */ 194 /* Init GNUTLS now so others can use it even if sslconn never does */
208 #ifdef HAVE_GNUTLS 206 #ifdef HAVE_GNUTLS
209 if (gaim_ssl_get_ops() == &ssl_ops) { 207 if (gaim_ssl_get_ops() == &ssl_ops) {
210 gaim_ssl_set_ops(NULL); 208 gaim_ssl_set_ops(NULL);
211 } 209 }
212 #endif 210 #endif
213
214 gaim_debug_unregister_category("gnutls");
215 211
216 return TRUE; 212 return TRUE;
217 } 213 }
218 214
219 static GaimPluginInfo info = 215 static GaimPluginInfo info =