From c6ca559e4e29bf00b6f61387b2e24fe53e463312 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 7 Jan 2014 13:19:09 -0500 Subject: examples: fix simple-proxy startup error checking was busted, making this not even work --- examples/simple-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple-proxy.c b/examples/simple-proxy.c index 6623166c..db8c9f96 100644 --- a/examples/simple-proxy.c +++ b/examples/simple-proxy.c @@ -153,7 +153,7 @@ main (int argc, char **argv) exit (1); } - if (argc != 2) { + if (argc != 1) { g_printerr ("%s", g_option_context_get_help (opts, TRUE, NULL)); exit (1); -- cgit v1.2.1