Commit 5576b182 authored by Kristian Lyngstøl's avatar Kristian Lyngstøl

Only handle client requests (-c) for varnishncsa

Fixes	#617


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4480 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a5d50e60
......@@ -553,6 +553,13 @@ main(int argc, char *argv[])
case 'w':
w_arg = optarg;
break;
case 'b':
fprintf(stderr, "-b is not valid for varnishncsa\n");
exit(1);
break;
case 'c':
/* XXX: Silently ignored: it's required anyway */
break;
default:
if (VSL_Arg(vd, c, optarg) > 0)
break;
......@@ -560,6 +567,8 @@ main(int argc, char *argv[])
}
}
VSL_Arg(vd, 'c', optarg);
if (VSL_OpenLog(vd, n_arg))
exit(1);
......
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