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 /httpd.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 'httpd.c')
-rw-r--r-- | httpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2223,9 +2223,10 @@ int main(int argc, char** argv) case 'n': nofork = yes; break; case 'l': if (argv[i+1]) loglevel = atoi(argv[++i]); break; case 'c': if (argv[i+1]) confDir = argv[++i]; break; - case 'i': if (argv[i+1]) + case 'i': { - cSystemNotification::setPidFile(argv[++i]); + if (argv[i+1]) + cSystemNotification::setPidFile(argv[++i]); break; } |