[next] telepathy-glib: tp_connection_manager_check_valid_name: fix copypasta
Simon McVittie
smcv at kemper.freedesktop.org
Fri Sep 27 07:44:04 PDT 2013
Module: telepathy-glib
Branch: next
Commit: ce41aef7528cc60e82147c3387e3e2a0f87d1dd5
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=ce41aef7528cc60e82147c3387e3e2a0f87d1dd5
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Fri Sep 27 14:40:24 2013 +0100
tp_connection_manager_check_valid_name: fix copypasta
---
telepathy-glib/connection-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/connection-manager.c b/telepathy-glib/connection-manager.c
index bba3a42..541c7df 100644
--- a/telepathy-glib/connection-manager.c
+++ b/telepathy-glib/connection-manager.c
@@ -1564,7 +1564,7 @@ tp_connection_manager_check_valid_name (const gchar *name,
return FALSE;
}
- if (!g_ascii_isalpha (name[0]) && *name_char != '_')
+ if (!g_ascii_isalpha (name[0]) && name[0] != '_')
{
g_set_error (error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"Not a valid connection manager name because first character "
More information about the telepathy-commits
mailing list