Created
January 25, 2010 11:55
-
-
Save KristianLyng/285822 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/varnish-cache/bin/varnishncsa/varnishncsa.c b/varnish-cache/bin/varnishncsa/varnishncsa.c | |
index 4d54d4e..69662b4 100644 | |
--- a/varnish-cache/bin/varnishncsa/varnishncsa.c | |
+++ b/varnish-cache/bin/varnishncsa/varnishncsa.c | |
@@ -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); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment