From f4e8944500913eb018b4d04ba1e10799d8d7ea64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Roth?= Date: Fri, 6 Jul 2012 15:23:08 -0300 Subject: [PATCH] libdvbv5: Fix dvb-file USER CMD MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: André Roth Signed-off-by: Mauro Carvalho Chehab --- lib/libdvbv5/dvb-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c index 5ab0d97..ea9caa0 100644 --- a/lib/libdvbv5/dvb-file.c +++ b/lib/libdvbv5/dvb-file.c @@ -387,7 +387,7 @@ static int fill_entry(struct dvb_entry *entry, char *key, char *value) break; } if (i < ARRAY_SIZE(dvb_v5_name)) { - const char * const *attr_name = dvb_v5_attr_names[i]; + const char * const *attr_name = dvb_attr_names(i); n_prop = entry->n_props; entry->props[n_prop].cmd = i; if (!attr_name || !*attr_name) @@ -412,7 +412,7 @@ static int fill_entry(struct dvb_entry *entry, char *key, char *value) break; } if (i < ARRAY_SIZE(dvb_user_name)) { - const char * const *attr_name = dvb_user_attr_names[i]; + const char * const *attr_name = dvb_attr_names(i); n_prop = entry->n_props; entry->props[n_prop].cmd = i + DTV_USER_COMMAND_START; if (!attr_name || !*attr_name) -- 2.7.4