From 3b77d93a85d5f2056b38430ff0edb5236e4a8b34 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Thu, 25 Jul 2013 14:46:58 +0200 Subject: [PATCH] libdvbv5: Fix copy and paste error in parse_service() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Detected by Coverity. Signed-off-by: Gregor Jasny CC: Mauro Carvalho Chehab CC: André Roth --- lib/libdvbv5/descriptors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c index 99d8fa3..9b6b050 100644 --- a/lib/libdvbv5/descriptors.c +++ b/lib/libdvbv5/descriptors.c @@ -787,9 +787,9 @@ static void parse_service(struct dvb_v5_fe_parms *parms, struct service_table *s if (verbose) { if (service_table->provider_name) printf("Provider %s", service_table->provider_name); - if (service_table->service_alias) + if (service_table->provider_alias) printf("(%s)", service_table->provider_alias); - if (service_table->provider_name || service_table->service_alias) + if (service_table->provider_name || service_table->provider_alias) printf("\n"); if (service_table->service_name) printf("Service %s", service_table->service_name); -- 2.7.4