1
0
forked from bip/bip

boulette quequette!

This commit is contained in:
nohar 2005-11-20 17:07:26 +00:00
parent 1e6f0593fb
commit 6a1ec2724b
2 changed files with 9 additions and 6 deletions

View File

@ -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;