diff options
author | Dan Winship <danw@gnome.org> | 2014-01-07 13:19:09 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-01-07 13:19:09 -0500 |
commit | c6ca559e4e29bf00b6f61387b2e24fe53e463312 (patch) | |
tree | 9cf24e041e383daef97294d3cf2f9f5a3e547718 | |
parent | 4c2d1ac3daed3940217da2477546db31fbdb1b43 (diff) | |
download | libsoup-c6ca559e4e29bf00b6f61387b2e24fe53e463312.tar.gz |
examples: fix simple-proxy
startup error checking was busted, making this not even work
-rw-r--r-- | examples/simple-proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |