[vinagre] Make bacon messages send the correct URI for parameters.
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Make bacon messages send the correct URI for parameters.
- Date: Mon, 10 Aug 2009 14:03:27 +0000 (UTC)
commit 75f483042d7929a8f23f588909cf7528dfe86e2d
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Aug 10 11:02:28 2009 -0300
Make bacon messages send the correct URI for parameters.
vinagre/vinagre-bacon.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/vinagre/vinagre-bacon.c b/vinagre/vinagre-bacon.c
index af3beaf..768befd 100644
--- a/vinagre/vinagre-bacon.c
+++ b/vinagre/vinagre-bacon.c
@@ -246,9 +246,11 @@ vinagre_bacon_send_message (BaconMessageConnection *connection,
for (l = servers; l != NULL; l = l->next)
{
VinagreConnection *conn = l->data;
- g_string_append_printf (command, "%s:%d",
- vinagre_connection_get_host (conn),
- vinagre_connection_get_port (conn));
+ gchar *uri = vinagre_connection_get_string_rep (conn, TRUE);
+
+ g_string_append (command, uri);
+ g_free (uri);
+
if (l->next != NULL)
command = g_string_append_c (command, ' ');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]