Mercurial > pidgin
comparison src/protocols/oscar/oscar.c @ 7164:7fadcbdcac29
[gaim-migrate @ 7731]
I was getting some crashes the other way
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 05 Oct 2003 19:59:21 +0000 |
parents | d14e026611c0 |
children | e6b01bd8d6cd |
comparison
equal
deleted
inserted
replaced
7163:3785d534d085 | 7164:7fadcbdcac29 |
---|---|
3180 g_string_append_printf(text, "<hr>%s", info_utf8); | 3180 g_string_append_printf(text, "<hr>%s", info_utf8); |
3181 g_free(info_utf8); | 3181 g_free(info_utf8); |
3182 } | 3182 } |
3183 } | 3183 } |
3184 | 3184 |
3185 final = gaim_str_sub_away_formatters(text->str, gaim_connection_get_display_name(gc)); | 3185 final = gaim_str_sub_away_formatters(text->str, gaim_account_get_username(gaim_connection_get_account(gc))); |
3186 g_string_free(text, TRUE); | 3186 g_string_free(text, TRUE); |
3187 gaim_notify_formatted(gc, NULL, _("Buddy Information"), NULL, final, NULL, NULL); | 3187 gaim_notify_formatted(gc, NULL, _("Buddy Information"), NULL, final, NULL, NULL); |
3188 | 3188 |
3189 return 1; | 3189 return 1; |
3190 } | 3190 } |
5423 gchar *tmp1, *tmp2; | 5423 gchar *tmp1, *tmp2; |
5424 const char *tmp3; | 5424 const char *tmp3; |
5425 tmp1 = gaim_strreplace(away_utf8, "<BR>", "\n"); | 5425 tmp1 = gaim_strreplace(away_utf8, "<BR>", "\n"); |
5426 tmp2 = gaim_markup_strip_html(tmp1); | 5426 tmp2 = gaim_markup_strip_html(tmp1); |
5427 g_free(tmp1); | 5427 g_free(tmp1); |
5428 tmp3 = gaim_str_sub_away_formatters(tmp2, gaim_connection_get_display_name(gc)); | 5428 tmp3 = gaim_str_sub_away_formatters(tmp2, gaim_account_get_username(gaim_connection_get_account(gc))); |
5429 g_free(tmp2); | 5429 g_free(tmp2); |
5430 tmp = ret; | 5430 tmp = ret; |
5431 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL); | 5431 ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL); |
5432 g_free(tmp); | 5432 g_free(tmp); |
5433 g_free(away_utf8); | 5433 g_free(away_utf8); |