diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-29 22:50:43 -0700 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-29 22:50:43 -0700 |
commit | 858ea0166108e9cfab3cc9290fc976f041411cce (patch) | |
tree | 4e47f7090478b29af0d88241745ba1d97da60ae6 /unix.c | |
parent | 2dcaf9a0fabdb92a191e64759d116f316de7dfc2 (diff) |
Allow building OTR support as a plugin. Fairly simple, let's hope I can get
away with doing this without libtool (eep).
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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() ); |