Skip to content

Instantly share code, notes, and snippets.

@KristianLyng
Created August 23, 2012 09:03
Show Gist options
  • Select an option

  • Save KristianLyng/3434456 to your computer and use it in GitHub Desktop.

Select an option

Save KristianLyng/3434456 to your computer and use it in GitHub Desktop.
diff --git a/bin/varnishncsa/varnishncsa.c b/bin/varnishncsa/varnishncsa.c
index ff07ed5..e4d6b84 100644
--- a/bin/varnishncsa/varnishncsa.c
+++ b/bin/varnishncsa/varnishncsa.c
@@ -883,10 +883,6 @@ 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 'i':
fprintf(stderr, "-i is not valid for varnishncsa\n");
exit(1);
@@ -895,9 +891,6 @@ main(int argc, char *argv[])
fprintf(stderr, "-I is not valid for varnishncsa\n");
exit(1);
break;
- case 'c':
- /* XXX: Silently ignored: it's required anyway */
- break;
case 'm':
m_flag = 1; /* Fall through */
default:
@@ -907,8 +900,6 @@ main(int argc, char *argv[])
}
}
- VSL_Arg(vd, 'c', optarg);
-
if (VSL_Open(vd, 1))
exit(1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment