diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-04-01 14:19:44 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-04-01 14:19:44 +0100 |
commit | f70d003995d67314178e48b1933b7b29cf1dd683 (patch) | |
tree | 7eafc618e68ccc9d35b0e6e3e658164b18c451cd /telepathy-glib/base-connection-manager.c | |
parent | 6dad56ec5e502ce68cbf71c6849896881a26f3b5 (diff) | |
download | telepathy-glib-f70d003995d67314178e48b1933b7b29cf1dd683.tar.gz |
Use tp_strdiff instead of strcmp when comparing strings for equality
Diffstat (limited to 'telepathy-glib/base-connection-manager.c')
-rw-r--r-- | telepathy-glib/base-connection-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/base-connection-manager.c b/telepathy-glib/base-connection-manager.c index 331a60cb5..ad9f4af64 100644 --- a/telepathy-glib/base-connection-manager.c +++ b/telepathy-glib/base-connection-manager.c @@ -335,7 +335,7 @@ get_parameters (const TpCMProtocolSpec *protos, for (i = 0; protos[i].name; i++) { - if (!strcmp (proto, protos[i].name)) + if (!tp_strdiff (proto, protos[i].name)) { *ret = protos + i; return TRUE; |