summaryrefslogtreecommitdiff
path: root/examples/cm/echo-message-parts/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cm/echo-message-parts/protocol.c')
-rw-r--r--examples/cm/echo-message-parts/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cm/echo-message-parts/protocol.c b/examples/cm/echo-message-parts/protocol.c
index 4512216b9..ae8894a26 100644
--- a/examples/cm/echo-message-parts/protocol.c
+++ b/examples/cm/echo-message-parts/protocol.c
@@ -115,7 +115,7 @@ identify_account (TpBaseProtocol *self G_GNUC_UNUSED,
const gchar *account = tp_asv_get_string (asv, "account");
if (account != NULL)
- return g_strdup (account);
+ return g_utf8_strdown (account, -1);
g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"'account' parameter not given");