summaryrefslogtreecommitdiffstats
path: root/src/ParserCmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParserCmdline.cpp')
-rw-r--r--src/ParserCmdline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ParserCmdline.cpp b/src/ParserCmdline.cpp
index 9985d9a..2027bff 100644
--- a/src/ParserCmdline.cpp
+++ b/src/ParserCmdline.cpp
@@ -104,7 +104,7 @@ bool parse_cmdline(char **argv,
vector<dabOutput*>::iterator output;
vector<dabSubchannel*>::iterator subchannel = ensemble->subchannels.end();
vector<dabComponent*>::iterator component = ensemble->components.end();
- vector<dabService*>::iterator service = ensemble->services.end();
+ vector<DabService*>::iterator service = ensemble->services.end();
dabProtection* protection = NULL;
dabInputOperations operations;
@@ -148,7 +148,7 @@ bool parse_cmdline(char **argv,
service = ensemble->services.end();
break;
case 'S':
- ensemble->services.push_back(new dabService);
+ ensemble->services.push_back(new DabService("?"));
subchannel = ensemble->subchannels.end();
protection = NULL;