Commit 728432e3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

examples/dvbinfo/dvbinfo.c: Fix unterminated case (CID 17255)

Forgot to terminate the case for option 'a'.
parent c68890a4
...@@ -525,7 +525,6 @@ int main(int argc, char **pp_argv) ...@@ -525,7 +525,6 @@ int main(int argc, char **pp_argv)
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
case 'a': case 'a':
{
if (optarg) if (optarg)
{ {
if (asprintf(&param->mcast_interface, "%s", optarg) < 0) if (asprintf(&param->mcast_interface, "%s", optarg) < 0)
...@@ -534,7 +533,8 @@ int main(int argc, char **pp_argv) ...@@ -534,7 +533,8 @@ int main(int argc, char **pp_argv)
usage(); usage();
} }
} }
} break;
case 'i': case 'i':
if (optarg) if (optarg)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment