Mercurial > pidgin
diff src/protocols/msn/utils.c @ 9331:851b8c672011
[gaim-migrate @ 10139]
Patch by Nelson Elhage to strip the mailto: from URLs, so the person on the
other side of the conversation will see foo@bar.com instead of
mailto:foo@bar.com.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 20 Jun 2004 21:40:15 +0000 |
parents | cea7eba5f494 |
children | e6a3aa978a44 |
line wrap: on
line diff
--- a/src/protocols/msn/utils.c Sun Jun 20 21:36:53 2004 +0000 +++ b/src/protocols/msn/utils.c Sun Jun 20 21:40:15 2004 +0000 @@ -211,6 +211,9 @@ else if (!g_ascii_strncasecmp(c + 1, "a href=\"", 8)) { c += 9; + + if (!g_ascii_strncasecmp(c, "mailto:", 7)) + c += 7; while (g_ascii_strncasecmp(c, "\">", 2)) msg[retcount++] = *c++;