summaryrefslogtreecommitdiff
path: root/gdbus/example-peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus/example-peer.c')
-rw-r--r--gdbus/example-peer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdbus/example-peer.c b/gdbus/example-peer.c
index a22e742..3c02c4e 100644
--- a/gdbus/example-peer.c
+++ b/gdbus/example-peer.c
@@ -134,10 +134,12 @@ main (int argc, char *argv[])
g_type_init ();
- error = NULL;
opt_address = NULL;
opt_server = FALSE;
+ opt_allow_anonymous = FALSE;
+
opt_context = g_option_context_new ("peer-to-peer example");
+ error = NULL;
g_option_context_add_main_entries (opt_context, opt_entries, NULL);
if (!g_option_context_parse (opt_context, &argc, &argv, &error))
{