libpurple/pounce.c

branch
string-comparison-r2
changeset 38259
c593fc9f5438
parent 33794
716cbef8d1c6
child 38358
30ba44276e74
--- a/libpurple/pounce.c	Thu Mar 23 21:01:15 2017 +0300
+++ b/libpurple/pounce.c	Fri Mar 24 02:23:46 2017 +0300
@@ -714,7 +714,7 @@
 		pouncer = purple_pounce_get_pouncer(pounce);
 		pouncee = purple_pounce_get_pouncee(pounce);
 
-		if ( (pouncer == bacct) && (strcmp(pouncee, bname) == 0) )
+		if ( (pouncer == bacct) && (purple_strequal(pouncee, bname)) )
 			purple_pounce_destroy(pounce);
 	}
 }

mercurial