diff --git a/src/connection.c b/src/connection.c index eadee8b..2996dc1 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1083,15 +1083,15 @@ static SSL_CTX *SSL_init_context(void) int fd, flags, ret, rng; char buf[1025]; SSL_CTX *ctx; - + if (!ssl_initialized) { SSL_library_init(); SSL_load_error_strings(); errbio = BIO_new_fp(stderr,BIO_NOCLOSE); - + ssl_cx_idx = SSL_get_ex_new_index(0, "bip connection_t", NULL, NULL,NULL); - + flags = O_RDONLY; flags |= O_NONBLOCK; fd = open("/dev/random", flags); diff --git a/src/irc.c b/src/irc.c index becfc6f..ee01439 100644 --- a/src/irc.c +++ b/src/irc.c @@ -63,7 +63,6 @@ static void irc_cli_make_join(struct link_client *ic); #define CONN_INTERVAL 60 #define CONNECT_TIMEOUT 60 - struct channel *channel_new(const char *name) { struct channel *chan;