diff options
author | horchi <vdr@jwendel.de> | 2017-12-21 17:58:26 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-12-21 17:58:26 +0100 |
commit | ec257583c911ab914b67ccac45e935ecca65b9cd (patch) | |
tree | 02593e8a7e253adb3fd1057c4b51c650fb4240a7 /main.c | |
parent | e2a6da5cbdb935283f95a89d562fe870dad23666 (diff) | |
download | vdr-epg-daemon-ec257583c911ab914b67ccac45e935ecca65b9cd.tar.gz vdr-epg-daemon-ec257583c911ab914b67ccac45e935ecca65b9cd.tar.bz2 |
2017-12-21: version 1.1.124 (horchi)\n - change: gcc 7 porting\n\n1.1.124
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -115,15 +115,16 @@ int main(int argc, char** argv) case 'c': if (argv[i+1]) confDir = argv[++i]; break; case 'M': EpgdConfig.maintanance = yes; break; case 'u': doValidateAlterDatabase = yes; break; - case 'i': if (argv[i+1]) + case 'i': { - cSystemNotification::setPidFile(argv[++i]); + if (argv[i+1]) + cSystemNotification::setPidFile(argv[++i]); break; } - case 'p': if (argv[i+1]) + case 'p': { - sstrcpy(EpgdConfig.pluginPath, argv[++i], - sizeof(EpgdConfig.pluginPath)); + if (argv[i+1]) + sstrcpy(EpgdConfig.pluginPath, argv[++i], sizeof(EpgdConfig.pluginPath)); break; } case 'l': |