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

Youness Alaoui <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 669ec9305cb0782c2b582265567a33f281fbfe27
Author:	 Youness Alaoui <[email protected]>
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;

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.