diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index f7909f72..cca5bf44 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -1319,7 +1319,7 @@ servlist_sanitize_hostname (char *host) if (c && c == e) *c = '/'; - return ret; + return g_strstrip(ret); } /* remove leading slash */