summaryrefslogtreecommitdiff
path: root/gio/gdbusaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gdbusaddress.c')
-rw-r--r--gio/gdbusaddress.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index 2e4d861bb..5fc6a121b 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -419,6 +419,10 @@ g_dbus_is_supported_address (const gchar *string,
supported = is_valid_nonce_tcp (a[n], key_value_pairs, error);
else if (g_strcmp0 (a[n], "autolaunch:") == 0)
supported = TRUE;
+ else
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
+ _("Unknown or unsupported transport ā€œ%sā€ for address ā€œ%sā€"),
+ transport_name, a[n]);
g_free (transport_name);
g_hash_table_unref (key_value_pairs);