changeset 32261:dc30c2bcc299

Fix parsing Yahoo sms carrier result
author maiku@pidgin.im
date Wed, 17 Aug 2011 01:56:48 +0000
parents c2a7fde6a566
children f19b40d5b1e9
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Tue Aug 16 17:11:39 2011 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Wed Aug 17 01:56:48 2011 +0000
@@ -4425,7 +4425,7 @@
 
 		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,