Adcrush fixes.

This commit is contained in:
Jan Vidar Krey 2011-11-28 16:36:45 +01:00
parent bad4512a37
commit 1102a86463
2 changed files with 1 additions and 2 deletions

View File

@ -380,7 +380,7 @@ int ADC_client_connect(struct ADC_client* client, const char* address)
if (ret == 0 || (ret == -1 && net_error() == EISCONN))
{
#ifdef SSL_SUPPORT
if (ssl_enabled)
if (client->ssl_enabled)
{
}

View File

@ -23,7 +23,6 @@ static int cfg_level = 1; /* activity level (0..3) */
static int cfg_chat = 0; /* chat mode, allow sending chat messages */
static int cfg_quiet = 0; /* quiet mode (no output) */
static int cfg_clients = ADC_CLIENTS_DEFAULT; /* number of clients */
static int running = 1;
#define MAX_CHAT_MSGS 35
const char* chat_messages[MAX_CHAT_MSGS] = {