Changes in unix.c [fef7813:858ea01]
Legend:
- Unmodified
- Added
- Removed
-
unix.c
rfef7813 r858ea01 29 29 #include "base64.h" 30 30 #include "commands.h" 31 #include "otr.h" 31 32 #include "protocols/nogaim.h" 32 33 #include "help.h" 33 34 #include "ipc.h" 35 #include "lib/ssl_client.h" 34 36 #include "md5.h" 35 37 #include "misc.h" … … 68 70 69 71 b_main_init(); 72 73 /* Ugly Note: libotr and gnutls both use libgcrypt. libgcrypt 74 has a process-global config state whose initialization happpens 75 twice if libotr and gnutls are used together. libotr installs custom 76 memory management functions for libgcrypt while our gnutls module 77 uses the defaults. Therefore we initialize OTR after SSL. *sigh* */ 78 ssl_init(); 79 #ifdef OTR_BI 80 otr_init(); 81 #endif 82 /* And in case OTR is loaded as a plugin, it'll also get loaded after 83 this point. */ 70 84 71 85 srand( time( NULL ) ^ getpid() ); … … 167 181 doesn't make a copy. Odd. */ 168 182 169 i =chdir( old_cwd );183 chdir( old_cwd ); 170 184 close( global.listen_socket ); 171 185
Note: See TracChangeset
for help on using the changeset viewer.