Mercurial > pidgin
comparison libpurple/protocols/msn/notification.c @ 20464:c3b23c9f170e
oops, not only did I typo'ed MFN, I also did a comparison before I update
the variable
Fixes #1097
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sat, 21 Jul 2007 20:13:09 +0000 |
parents | 8f7ccadce62d |
children | 416ce8a7ac66 |
comparison
equal
deleted
inserted
replaced
20463:0b04a7d90470 | 20464:c3b23c9f170e |
---|---|
1155 msn_user_set_home_phone(session->user, NULL); | 1155 msn_user_set_home_phone(session->user, NULL); |
1156 else if (!strcmp(type, "PHW")) | 1156 else if (!strcmp(type, "PHW")) |
1157 msn_user_set_work_phone(session->user, NULL); | 1157 msn_user_set_work_phone(session->user, NULL); |
1158 else if (!strcmp(type, "PHM")) | 1158 else if (!strcmp(type, "PHM")) |
1159 msn_user_set_mobile_phone(session->user, NULL); | 1159 msn_user_set_mobile_phone(session->user, NULL); |
1160 else if (!strcmp(type, "MFM")) { | 1160 else { |
1161 type = cmd->params[1]; | 1161 type = cmd->params[1]; |
1162 purple_connection_set_display_name( | 1162 if (!strcmp(type, "MFN")) { |
1163 purple_account_get_connection(session->account), | 1163 |
1164 purple_url_decode(cmd->params[2])); | 1164 purple_connection_set_display_name( |
1165 purple_account_get_connection(session->account), | |
1166 purple_url_decode(cmd->params[2])); | |
1167 } | |
1165 } | 1168 } |
1166 } | 1169 } |
1167 } | 1170 } |
1168 | 1171 |
1169 static void | 1172 static void |