minor adjustments

This commit is contained in:
notaz 2012-09-16 19:43:29 +03:00 committed by Grazvydas Ignotas
parent a085ae5ef1
commit 7b0a298567
2 changed files with 6 additions and 4 deletions

View file

@ -147,14 +147,14 @@ static int parse_bind_val(const char *val, int *type)
return -1;
}
void config_read_keys(const char *cfg)
void config_read_keys(const char *cfg_content)
{
char dev[256], key[128], *act;
const char *p;
int bind, bindtype;
int dev_id;
p = cfg;
p = cfg_content;
while (p != NULL && (p = strstr(p, "binddev = ")) != NULL) {
p += 10;