From 858ea0166108e9cfab3cc9290fc976f041411cce Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 29 Sep 2010 22:50:43 -0700 Subject: Allow building OTR support as a plugin. Fairly simple, let's hope I can get away with doing this without libtool (eep). --- unix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 11997732..4869e9f9 100644 --- a/unix.c +++ b/unix.c @@ -76,7 +76,11 @@ int main( int argc, char *argv[] ) memory management functions for libgcrypt while our gnutls module uses the defaults. Therefore we initialize OTR after SSL. *sigh* */ ssl_init(); +#ifdef OTR_BI otr_init(); +#endif + /* And in case OTR is loaded as a plugin, it'll also get loaded after + this point. */ srand( time( NULL ) ^ getpid() ); -- cgit v1.2.3