/pidgin/main: 16fb6c8feaea: oscar: Use purple_strequal in kerber...

Youness Alaoui <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 16fb6c8feaeaed1ac55b8bd31b70b1ac60b18c07
Author:	 Youness Alaoui <[email protected]>
Date:	 2016-06-15 10:57 -0400
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/16fb6c8feaea

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
@@ -272,7 +272,7 @@ kerberos_login_cb(PurpleUtilFetchUrlData
 	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.