pidgin: b096ab64: Fix parsing Yahoo sms carrier result

maiku at pidgin.im maiku at pidgin.im
Tue Aug 16 22:15:47 EDT 2011


----------------------------------------------------------------------
Revision: b096ab646cc98f6db624b99df4aef9995d34f162
Parent:   29c6bcad8375eb01e1dff0f135c6cbd34dd20380
Author:   maiku at pidgin.im
Date:     08/16/11 21:56:48
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b096ab646cc98f6db624b99df4aef9995d34f162

Changelog: 

Fix parsing Yahoo sms carrier result

Changes against parent 29c6bcad8375eb01e1dff0f135c6cbd34dd20380

  patched  libpurple/protocols/yahoo/libymsg.c

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	e52e4aed8bcc3131613727753199714713e99cf4
+++ libpurple/protocols/yahoo/libymsg.c	f4cecd2fd4f8f4167f259cdcf6d80fdc660108f9
@@ -4425,7 +4425,7 @@ static void yahoo_get_sms_carrier_cb(Pur
 
 		purple_debug_info("yahoo", "SMS validate data: %s\n", webdata);
 
-		if (status && g_str_equal(status, "Valid") == 0) {
+		if (status && g_str_equal(status, "Valid")) {
 			g_hash_table_insert(yd->sms_carrier,
 					g_strdup_printf("+%s", mobile_no), g_strdup(carrier));
 			yahoo_send_im(sms_cb_data->gc, sms_cb_data->who,


More information about the Commits mailing list