boulette quequette!
This commit is contained in:
parent
1e6f0593fb
commit
6a1ec2724b
@ -327,7 +327,7 @@ static int add_network(list_t *data)
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
conf_die("uknown keyword in network statement");
|
||||
conf_die("unknown keyword in network statement");
|
||||
if (t->type == TUPLE_STR)
|
||||
free(t->pdata);
|
||||
return 0;
|
||||
@ -365,7 +365,7 @@ static int add_channel(list_t *channell, list_t *data)
|
||||
c->key = t->pdata;
|
||||
break;
|
||||
default:
|
||||
conf_die("uknown keyword in channel statement");
|
||||
conf_die("unknown keyword in channel statement");
|
||||
if (t->type == TUPLE_STR)
|
||||
free(t->pdata);
|
||||
return 0;
|
||||
@ -436,6 +436,9 @@ static int add_connection(list_t *connectionl, list_t *data,
|
||||
case LEX_PASSWORD:
|
||||
c->password = t->pdata;
|
||||
break;
|
||||
case LEX_VHOST:
|
||||
c->vhost = t->pdata;
|
||||
break;
|
||||
case LEX_CHANNEL:
|
||||
r = add_channel(&c->channell, t->pdata);
|
||||
free(t->pdata);
|
||||
@ -455,7 +458,7 @@ static int add_connection(list_t *connectionl, list_t *data,
|
||||
c->on_connect_send = t->pdata;
|
||||
break;
|
||||
default:
|
||||
conf_die("uknown keyword in connection statement");
|
||||
conf_die("unknown keyword in connection statement");
|
||||
if (t->type == TUPLE_STR)
|
||||
free(t->pdata);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user