Mercurial > pidgin
changeset 9786:3e7e294f56f3
[gaim-migrate @ 10654]
Stu Tomlinson likes to point out that I'm dumb
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 19 Aug 2004 22:48:27 +0000 |
parents | 2356d2153c94 |
children | 904b757835ca |
files | src/util.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util.c Thu Aug 19 22:46:08 2004 +0000 +++ b/src/util.c Thu Aug 19 22:48:27 2004 +0000 @@ -1653,11 +1653,13 @@ char * gaim_escape_html(const char *html) { const char *c = html; - GString *ret = g_string_new(""); + GString *ret; if (html == NULL) return NULL; + ret = g_string_new(""); + while (*c) { switch (*c) { case '&':