Mercurial > pidgin.yaz
changeset 10905:d41e285af79e
[gaim-migrate @ 12634]
Whoops.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 07 May 2005 17:44:00 +0000 |
parents | e0cf11160c97 |
children | 5e41c817dfa2 |
files | src/util.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util.c Sat May 07 13:40:30 2005 +0000 +++ b/src/util.c Sat May 07 17:44:00 2005 +0000 @@ -1528,7 +1528,7 @@ if ((*(t - 1) == ')' && (inside_paren > 0))) { t--; } - g_strndup(c, t - c); + url_buf = g_strndup(c, t - c); tmpurlbuf = gaim_unescape_html(url_buf); g_string_append_printf(ret, "<A HREF=\"%s\">%s</A>", tmpurlbuf, url_buf); @@ -1592,7 +1592,7 @@ } } else if (c != text && (*c == '@')) { int flag; - GString *gurl_buf; + GString *gurl_buf = NULL; const char illegal_chars[] = "!@#$%^&*()[]{}/|\\<>\":;\r\n \0"; if (strchr(illegal_chars,*(c - 1)) || strchr(illegal_chars, *(c + 1)))