X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=libpicofe.git;a=blobdiff_plain;f=config_file.c;h=a1e67aef761cf92d264afe42983a45fef199112e;hp=6632aa5159ac32941c541f0d85bb59bad91ed158;hb=ebf0e111a84cbd73511cc2b935c7bd688638cf5e;hpb=f89d84717ae3536779f04cdfb57cf940d2bd8ade diff --git a/config_file.c b/config_file.c index 6632aa5..a1e67ae 100644 --- a/config_file.c +++ b/config_file.c @@ -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;