diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2013-08-07 21:12:59 +0200 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2013-08-07 21:12:59 +0200 |
commit | 3f773eb7f7e958017d1ded275833596a4c4ad095 (patch) | |
tree | 0d3757919f6e48abc8ea456e29d6b2dbb4a738ee | |
parent | 9b7c6423e924ea4a49d6163f1c2ffbc84a7e2c5a (diff) |
protocol: replace incorrect g_strdupv with g_strdup
-rw-r--r-- | src/kindling-protocol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kindling-protocol.c b/src/kindling-protocol.c index 0e1895a..284c0f7 100644 --- a/src/kindling-protocol.c +++ b/src/kindling-protocol.c @@ -113,13 +113,13 @@ dup_authentication_types (TpBaseProtocol *base) { static gchar *normalize_contact(TpBaseProtocol *self, const gchar *contact, GError **error) { g_printf("protocol normalizing contact\n"); - return g_strdupv(contact); + return g_strdup(contact); } static char *identify_account(TpBaseProtocol *self, GHashTable *asv, GError **error) { g_printf("protocol identing account\n"); - gchar *nick = g_strdupv(tp_asv_get_string(asv, "username")); - gchar *server = g_strdupv(tp_asv_get_string(asv, "server")); + gchar *nick = g_strdup(tp_asv_get_string(asv, "username")); + gchar *server = g_strdup(tp_asv_get_string(asv, "server")); gchar *nick_at_server = g_strdup_printf("%s@%s", nick, server); g_free(server); g_free(nick); |