summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index 934d1d0..a4e3295 100644
--- a/httpd.c
+++ b/httpd.c
@@ -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;
}