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