- fixed setting language for each interface

This commit is contained in:
MelwareDE 2006-01-14 13:55:33 +00:00
parent 3d42160ffe
commit 84c856b85b
1 changed files with 2 additions and 1 deletions

View File

@ -4216,7 +4216,8 @@ int mkif(struct cc_capi_conf *conf)
strncpy(tmp->defaultcid, conf->defaultcid, sizeof(tmp->defaultcid) - 1);
strncpy(tmp->prefix, conf->prefix, sizeof(tmp->prefix)-1);
strncpy(tmp->accountcode, conf->accountcode, sizeof(tmp->accountcode) - 1);
strncpy(tmp->language, conf->language, sizeof(tmp->language) - 1);
strncpy(buffer, conf->controllerstr, sizeof(buffer) - 1);
contr = strtok_r(buffer, ",", &buffer_rp);
while (contr != NULL) {