changeset 139:9871186ebf8f

fix a bug that strip_html_markup() stalls if purple_markup_unescape_entity() returns NULL.
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Wed, 23 Jul 2008 12:09:25 +0900
parents eaf5d2c4ada0
children dcf980ba3f8b
files pidgin-twitter.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin-twitter.c	Wed Jul 23 07:32:21 2008 +0900
+++ b/pidgin-twitter.c	Wed Jul 23 12:09:25 2008 +0900
@@ -113,6 +113,9 @@
                 }
                 ptr += entlen;
             }
+            else {
+                *ptr2++ = *ptr++;
+            }
         }
         else {
             *ptr2++ = *ptr++;