aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-28 22:49:07 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-08-29 01:02:16 +0800
commit74a34883df84726ad94359675f3c65a624619dc9 (patch)
tree835a0969941b42f5172ccbfed4a042099b430b9b /libempathy-gtk/empathy-theme-adium.c
parente388248780b01e51a5a1515cefc0240064620e74 (diff)
downloadgsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.gz
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.bz2
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.lz
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.xz
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.zst
gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.zip
Add empathy_make_absolute_url_len to limit the lenght of url string
Related to http://bugzilla.gnome.org/show_bug.cgi?id=593207
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index f557d07bb..d7fd01729 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -328,7 +328,7 @@ theme_adium_parse_body (EmpathyThemeAdium *theme,
}
/* Append the link inside <a href=""></a> tag */
- real_url = empathy_make_absolute_url (text + s);
+ real_url = empathy_make_absolute_url_len (text + s, e - s);
g_string_append (string, "<a href=\"");
g_string_append (string, real_url);