/pidgin/main: 669ec9305cb0: oscar: Use purple_strequal in kerber...

Youness Alaoui kakaroto at kakaroto.homelinux.net
Fri Jun 17 19:11:41 EDT 2016


Changeset: 669ec9305cb0782c2b582265567a33f281fbfe27
Author:	 Youness Alaoui <kakaroto at kakaroto.homelinux.net>
Date:	 2016-06-15 10:57 -0400
Branch:	 oscar_auth
URL: https://hg.pidgin.im/pidgin/main/rev/669ec9305cb0

Description:

oscar: Use purple_strequal in kerberos.c

diffstat:

 libpurple/protocols/oscar/kerberos.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/oscar/kerberos.c b/libpurple/protocols/oscar/kerberos.c
--- a/libpurple/protocols/oscar/kerberos.c
+++ b/libpurple/protocols/oscar/kerberos.c
@@ -275,7 +275,7 @@ kerberos_login_cb(PurpleHttpConnection *
 	xsnac.tlvlist = aim_tlvlist_readnum(&bs, len);
 
 	for (i = 0; i < xsnac.num_tokens; i++) {
-		if (strcmp (xsnac.tokens[i].service, "im/boss") == 0) {
+		if (purple_strequal (xsnac.tokens[i].service, "im/boss")) {
 			aim_tlv_t *tlv;
 			GSList *tlvlist;
 			ByteStream tbs;



More information about the Commits mailing list