[libsoup] examples: fix simple-proxy
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] examples: fix simple-proxy
- Date: Tue, 7 Jan 2014 18:28:31 +0000 (UTC)
commit c6ca559e4e29bf00b6f61387b2e24fe53e463312
Author: Dan Winship <danw gnome org>
Date: Tue Jan 7 13:19:09 2014 -0500
examples: fix simple-proxy
startup error checking was busted, making this not even work
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 6623166..db8c9f9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]