comparison src/protocols/msn/switchboard.c @ 5342:8523e6797d47

[gaim-migrate @ 5718] Crashes are just no fun. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 09 May 2003 21:45:25 +0000
parents d5690ed70085
children 2aa7e4237142
comparison
equal deleted inserted replaced
5341:ccec8893c1be 5342:8523e6797d47
269 269
270 if ((value = msn_message_get_attr(msg, "X-MMS-IM-Format")) != NULL) { 270 if ((value = msn_message_get_attr(msg, "X-MMS-IM-Format")) != NULL) {
271 format = msn_parse_format(value); 271 format = msn_parse_format(value);
272 272
273 body = g_strdup_printf("%s%s", format, body); 273 body = g_strdup_printf("%s%s", format, body);
274
275 g_free(format);
276 } 274 }
277 275
278 if (swboard->chat != NULL) 276 if (swboard->chat != NULL)
279 serv_got_chat_in(gc, gaim_chat_get_id(GAIM_CHAT(swboard->chat)), 277 serv_got_chat_in(gc, gaim_chat_get_id(GAIM_CHAT(swboard->chat)),
280 servconn->msg_passport, flags, body, time(NULL)); 278 servconn->msg_passport, flags, body, time(NULL));